Package com.oracle.bmc.opensearch.model
Class OpensearchClusterBackupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opensearch.model.OpensearchClusterBackupSummary.Builder
-
- Enclosing class:
- OpensearchClusterBackupSummary
public static class OpensearchClusterBackupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpensearchClusterBackupSummary.Builder
backupSize(Double backupSize)
The size in GB of the cluster backup.OpensearchClusterBackupSummary.Builder
backupType(OpensearchClusterBackup.BackupType backupType)
Specifies whether the cluster backup was created manually, or automatically as a scheduled backup.OpensearchClusterBackupSummary
build()
OpensearchClusterBackupSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the cluster backup is located.OpensearchClusterBackupSummary.Builder
copy(OpensearchClusterBackupSummary model)
OpensearchClusterBackupSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OpensearchClusterBackupSummary.Builder
displayName(String displayName)
The name of the cluster backup.OpensearchClusterBackupSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OpensearchClusterBackupSummary.Builder
id(String id)
The OCID of the cluster backup.OpensearchClusterBackupSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster backup.OpensearchClusterBackupSummary.Builder
lifecycleState(OpensearchClusterBackup.LifecycleState lifecycleState)
The current state of the cluster backup.OpensearchClusterBackupSummary.Builder
sourceClusterDisplayName(String sourceClusterDisplayName)
The name of the source OpenSearch cluster for the cluster backup.OpensearchClusterBackupSummary.Builder
sourceClusterId(String sourceClusterId)
The OCID of the source OpenSearch cluster for the cluster backup.OpensearchClusterBackupSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.OpensearchClusterBackupSummary.Builder
timeCreated(Date timeCreated)
The date and time the cluster backup was created.OpensearchClusterBackupSummary.Builder
timeExpired(Date timeExpired)
The date and time the cluster backup expires.OpensearchClusterBackupSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the cluster backup was updated.
-
-
-
Method Detail
-
id
public OpensearchClusterBackupSummary.Builder id(String id)
The OCID of the cluster backup.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public OpensearchClusterBackupSummary.Builder displayName(String displayName)
The name of the cluster backup.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public OpensearchClusterBackupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the cluster backup is located.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
backupType
public OpensearchClusterBackupSummary.Builder backupType(OpensearchClusterBackup.BackupType backupType)
Specifies whether the cluster backup was created manually, or automatically as a scheduled backup.- Parameters:
backupType
- the value to set- Returns:
- this builder
-
sourceClusterId
public OpensearchClusterBackupSummary.Builder sourceClusterId(String sourceClusterId)
The OCID of the source OpenSearch cluster for the cluster backup.- Parameters:
sourceClusterId
- the value to set- Returns:
- this builder
-
timeCreated
public OpensearchClusterBackupSummary.Builder timeCreated(Date timeCreated)
The date and time the cluster backup was created.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OpensearchClusterBackupSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cluster backup was updated.Format defined by RFC3339.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public OpensearchClusterBackupSummary.Builder lifecycleState(OpensearchClusterBackup.LifecycleState lifecycleState)
The current state of the cluster backup.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public OpensearchClusterBackupSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster backup.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeExpired
public OpensearchClusterBackupSummary.Builder timeExpired(Date timeExpired)
The date and time the cluster backup expires.Format defined by RFC3339.
- Parameters:
timeExpired
- the value to set- Returns:
- this builder
-
backupSize
public OpensearchClusterBackupSummary.Builder backupSize(Double backupSize)
The size in GB of the cluster backup.- Parameters:
backupSize
- the value to set- Returns:
- this builder
-
sourceClusterDisplayName
public OpensearchClusterBackupSummary.Builder sourceClusterDisplayName(String sourceClusterDisplayName)
The name of the source OpenSearch cluster for the cluster backup.- Parameters:
sourceClusterDisplayName
- the value to set- Returns:
- this builder
-
freeformTags
public OpensearchClusterBackupSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public OpensearchClusterBackupSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public OpensearchClusterBackupSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public OpensearchClusterBackupSummary build()
-
copy
public OpensearchClusterBackupSummary.Builder copy(OpensearchClusterBackupSummary model)
-
-