Package com.oracle.bmc.datasafe.model
Class AuditArchiveRetrievalSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.AuditArchiveRetrievalSummary.Builder
-
- Enclosing class:
- AuditArchiveRetrievalSummary
public static class AuditArchiveRetrievalSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditArchiveRetrievalSummary.BuilderauditEventCount(Long auditEventCount)Total retrieved archive records audit event count.AuditArchiveRetrievalSummarybuild()AuditArchiveRetrievalSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains archive retrieval.AuditArchiveRetrievalSummary.Buildercopy(AuditArchiveRetrievalSummary model)AuditArchiveRetrievalSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AuditArchiveRetrievalSummary.Builderdescription(String description)Description of the archive retrieval.AuditArchiveRetrievalSummary.BuilderdisplayName(String displayName)The display name of the archive retrieval.AuditArchiveRetrievalSummary.BuilderendDate(Date endDate)End month of the archive retrieval, in the format defined by RFC3339.AuditArchiveRetrievalSummary.BuildererrorInfo(String errorInfo)Error details of failed archive retrieval.AuditArchiveRetrievalSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AuditArchiveRetrievalSummary.Builderid(String id)The OCID of the archive retrieval.AuditArchiveRetrievalSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the archive retrieval.AuditArchiveRetrievalSummary.BuilderlifecycleState(AuditArchiveRetrievalLifecycleState lifecycleState)The current state of the archive retrieval.AuditArchiveRetrievalSummary.BuilderstartDate(Date startDate)Start month of the archive retrieval, in the format defined by RFC3339.AuditArchiveRetrievalSummary.BuildertargetId(String targetId)The OCID of the target associated with the archive retrieval.AuditArchiveRetrievalSummary.BuildertimeCompleted(Date timeCompleted)The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.AuditArchiveRetrievalSummary.BuildertimeOfExpiry(Date timeOfExpiry)The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.AuditArchiveRetrievalSummary.BuildertimeRequested(Date timeRequested)The date time when archive retrieval was requested, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public AuditArchiveRetrievalSummary.Builder id(String id)
The OCID of the archive retrieval.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public AuditArchiveRetrievalSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains archive retrieval.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public AuditArchiveRetrievalSummary.Builder displayName(String displayName)
The display name of the archive retrieval.The name does not have to be unique, and is changeable.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public AuditArchiveRetrievalSummary.Builder description(String description)
Description of the archive retrieval.- Parameters:
description- the value to set- Returns:
- this builder
-
startDate
public AuditArchiveRetrievalSummary.Builder startDate(Date startDate)
Start month of the archive retrieval, in the format defined by RFC3339.- Parameters:
startDate- the value to set- Returns:
- this builder
-
endDate
public AuditArchiveRetrievalSummary.Builder endDate(Date endDate)
End month of the archive retrieval, in the format defined by RFC3339.- Parameters:
endDate- the value to set- Returns:
- this builder
-
targetId
public AuditArchiveRetrievalSummary.Builder targetId(String targetId)
The OCID of the target associated with the archive retrieval.- Parameters:
targetId- the value to set- Returns:
- this builder
-
timeRequested
public AuditArchiveRetrievalSummary.Builder timeRequested(Date timeRequested)
The date time when archive retrieval was requested, in the format defined by RFC3339.- Parameters:
timeRequested- the value to set- Returns:
- this builder
-
timeCompleted
public AuditArchiveRetrievalSummary.Builder timeCompleted(Date timeCompleted)
The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.- Parameters:
timeCompleted- the value to set- Returns:
- this builder
-
timeOfExpiry
public AuditArchiveRetrievalSummary.Builder timeOfExpiry(Date timeOfExpiry)
The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.- Parameters:
timeOfExpiry- the value to set- Returns:
- this builder
-
auditEventCount
public AuditArchiveRetrievalSummary.Builder auditEventCount(Long auditEventCount)
Total retrieved archive records audit event count.- Parameters:
auditEventCount- the value to set- Returns:
- this builder
-
errorInfo
public AuditArchiveRetrievalSummary.Builder errorInfo(String errorInfo)
Error details of failed archive retrieval.- Parameters:
errorInfo- the value to set- Returns:
- this builder
-
lifecycleState
public AuditArchiveRetrievalSummary.Builder lifecycleState(AuditArchiveRetrievalLifecycleState lifecycleState)
The current state of the archive retrieval.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public AuditArchiveRetrievalSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the archive retrieval.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public AuditArchiveRetrievalSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public AuditArchiveRetrievalSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public AuditArchiveRetrievalSummary build()
-
copy
public AuditArchiveRetrievalSummary.Builder copy(AuditArchiveRetrievalSummary model)
-
-