public static class OpensearchClusterBackupSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public OpensearchClusterBackupSummary.Builder id(String id)
The OCID of the cluster backup.
id
- the value to setpublic OpensearchClusterBackupSummary.Builder displayName(String displayName)
The name of the cluster backup. Avoid entering confidential information.
displayName
- the value to setpublic OpensearchClusterBackupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the cluster backup is located.
compartmentId
- the value to setpublic OpensearchClusterBackupSummary.Builder backupType(OpensearchClusterBackup.BackupType backupType)
Specifies whether the cluster backup was created manually, or automatically as a scheduled backup.
backupType
- the value to setpublic OpensearchClusterBackupSummary.Builder sourceClusterId(String sourceClusterId)
The OCID of the source OpenSearch cluster for the cluster backup.
sourceClusterId
- the value to setpublic OpensearchClusterBackupSummary.Builder timeCreated(Date timeCreated)
The date and time the cluster backup was created. Format defined by RFC3339.
timeCreated
- the value to setpublic OpensearchClusterBackupSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cluster backup was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic OpensearchClusterBackupSummary.Builder lifecycleState(OpensearchClusterBackup.LifecycleState lifecycleState)
The current state of the cluster backup.
lifecycleState
- the value to setpublic OpensearchClusterBackupSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster backup.
lifecycleDetails
- the value to setpublic OpensearchClusterBackupSummary.Builder timeExpired(Date timeExpired)
The date and time the cluster backup expires. Format defined by RFC3339.
timeExpired
- the value to setpublic OpensearchClusterBackupSummary.Builder backupSize(Double backupSize)
The size in GB of the cluster backup.
backupSize
- the value to setpublic OpensearchClusterBackupSummary.Builder sourceClusterDisplayName(String sourceClusterDisplayName)
The name of the source OpenSearch cluster for the cluster backup.
sourceClusterDisplayName
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic OpensearchClusterBackupSummary build()
public OpensearchClusterBackupSummary.Builder copy(OpensearchClusterBackupSummary model)
Copyright © 2016–2024. All rights reserved.