Package com.oracle.bmc.datasafe.model
Class AuditArchiveRetrieval.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.AuditArchiveRetrieval.Builder
-
- Enclosing class:
- AuditArchiveRetrieval
public static class AuditArchiveRetrieval.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditArchiveRetrieval.Builder
auditEventCount(Long auditEventCount)
Total count of audit events to be retrieved from the archive for the specified date range.AuditArchiveRetrieval
build()
AuditArchiveRetrieval.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains archive retrieval.AuditArchiveRetrieval.Builder
copy(AuditArchiveRetrieval model)
AuditArchiveRetrieval.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AuditArchiveRetrieval.Builder
description(String description)
Description of the archive retrieval.AuditArchiveRetrieval.Builder
displayName(String displayName)
The display name of the archive retrieval.AuditArchiveRetrieval.Builder
endDate(Date endDate)
End month of the archive retrieval, in the format defined by RFC3339.AuditArchiveRetrieval.Builder
errorInfo(String errorInfo)
The Error details of a failed archive retrieval.AuditArchiveRetrieval.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.AuditArchiveRetrieval.Builder
id(String id)
The OCID of the archive retrieval.AuditArchiveRetrieval.Builder
lifecycleDetails(String lifecycleDetails)
Details about the current state of the archive retrieval.AuditArchiveRetrieval.Builder
lifecycleState(AuditArchiveRetrievalLifecycleState lifecycleState)
The current state of the archive retrieval.AuditArchiveRetrieval.Builder
startDate(Date startDate)
Start month of the archive retrieval, in the format defined by RFC3339.AuditArchiveRetrieval.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.AuditArchiveRetrieval.Builder
targetId(String targetId)
The OCID of the target associated with the archive retrieval.AuditArchiveRetrieval.Builder
timeCompleted(Date timeCompleted)
The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.AuditArchiveRetrieval.Builder
timeOfExpiry(Date timeOfExpiry)
The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.AuditArchiveRetrieval.Builder
timeRequested(Date timeRequested)
The date time when archive retrieval was requested, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public AuditArchiveRetrieval.Builder id(String id)
The OCID of the archive retrieval.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public AuditArchiveRetrieval.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains archive retrieval.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public AuditArchiveRetrieval.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 AuditArchiveRetrieval.Builder description(String description)
Description of the archive retrieval.- Parameters:
description
- the value to set- Returns:
- this builder
-
startDate
public AuditArchiveRetrieval.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 AuditArchiveRetrieval.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 AuditArchiveRetrieval.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 AuditArchiveRetrieval.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 AuditArchiveRetrieval.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 AuditArchiveRetrieval.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 AuditArchiveRetrieval.Builder auditEventCount(Long auditEventCount)
Total count of audit events to be retrieved from the archive for the specified date range.- Parameters:
auditEventCount
- the value to set- Returns:
- this builder
-
errorInfo
public AuditArchiveRetrieval.Builder errorInfo(String errorInfo)
The Error details of a failed archive retrieval.- Parameters:
errorInfo
- the value to set- Returns:
- this builder
-
lifecycleState
public AuditArchiveRetrieval.Builder lifecycleState(AuditArchiveRetrievalLifecycleState lifecycleState)
The current state of the archive retrieval.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AuditArchiveRetrieval.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the archive retrieval.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public AuditArchiveRetrieval.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 AuditArchiveRetrieval.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
-
systemTags
public AuditArchiveRetrieval.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public AuditArchiveRetrieval build()
-
copy
public AuditArchiveRetrieval.Builder copy(AuditArchiveRetrieval model)
-
-