public static class OpensearchClusterBackup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OpensearchClusterBackup.Builder |
backupSize(Double backupSize)
The size in GB of the cluster backup.
|
OpensearchClusterBackup.Builder |
backupType(OpensearchClusterBackup.BackupType backupType)
Specifies whether the cluster backup was created manually, or automatically as a
scheduled backup.
|
OpensearchClusterBackup.Builder |
bucketName(String bucketName)
The name of the Object Storage bucket for the cluster backup.
|
OpensearchClusterBackup |
build() |
OpensearchClusterBackup.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the cluster backup is located.
|
OpensearchClusterBackup.Builder |
copy(OpensearchClusterBackup model) |
OpensearchClusterBackup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OpensearchClusterBackup.Builder |
displayName(String displayName)
The name of the cluster backup.
|
OpensearchClusterBackup.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OpensearchClusterBackup.Builder |
id(String id)
The OCID of the cluster backup.
|
OpensearchClusterBackup.Builder |
lifecycleState(OpensearchClusterBackup.LifecycleState lifecycleState)
The current state of the cluster backup.
|
OpensearchClusterBackup.Builder |
lifecyleDetails(String lifecyleDetails)
Additional information about the current lifecycle state of the cluster backup.
|
OpensearchClusterBackup.Builder |
namespace(String namespace)
The Object Storage namespace for the cluster backup.
|
OpensearchClusterBackup.Builder |
prefix(String prefix)
The prefix within the Object Storage bucket for the cluster backup.
|
OpensearchClusterBackup.Builder |
sourceClusterDisplayName(String sourceClusterDisplayName)
The name of the source OpenSearch cluster for the cluster backup.
|
OpensearchClusterBackup.Builder |
sourceClusterId(String sourceClusterId)
The OCID of the source OpenSearch cluster for the cluster backup.
|
OpensearchClusterBackup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
OpensearchClusterBackup.Builder |
timeCreated(Date timeCreated)
The date and time the cluster backup was created.
|
OpensearchClusterBackup.Builder |
timeExpired(Date timeExpired)
The date and time the cluster backup expires.
|
OpensearchClusterBackup.Builder |
timeUpdated(Date timeUpdated)
The date and time the cluster backup was updated.
|
public OpensearchClusterBackup.Builder id(String id)
The OCID of the cluster backup.
id
- the value to setpublic OpensearchClusterBackup.Builder displayName(String displayName)
The name of the cluster backup. Avoid entering confidential information.
displayName
- the value to setpublic OpensearchClusterBackup.Builder compartmentId(String compartmentId)
The OCID of the compartment where the cluster backup is located.
compartmentId
- the value to setpublic OpensearchClusterBackup.Builder backupType(OpensearchClusterBackup.BackupType backupType)
Specifies whether the cluster backup was created manually, or automatically as a scheduled backup.
backupType
- the value to setpublic OpensearchClusterBackup.Builder timeCreated(Date timeCreated)
The date and time the cluster backup was created. Format defined by RFC3339.
timeCreated
- the value to setpublic OpensearchClusterBackup.Builder timeUpdated(Date timeUpdated)
The date and time the cluster backup was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic OpensearchClusterBackup.Builder lifecycleState(OpensearchClusterBackup.LifecycleState lifecycleState)
The current state of the cluster backup.
lifecycleState
- the value to setpublic OpensearchClusterBackup.Builder lifecyleDetails(String lifecyleDetails)
Additional information about the current lifecycle state of the cluster backup.
lifecyleDetails
- the value to setpublic OpensearchClusterBackup.Builder sourceClusterId(String sourceClusterId)
The OCID of the source OpenSearch cluster for the cluster backup.
sourceClusterId
- the value to setpublic OpensearchClusterBackup.Builder namespace(String namespace)
The Object Storage namespace for the cluster backup.
namespace
- the value to setpublic OpensearchClusterBackup.Builder bucketName(String bucketName)
The name of the Object Storage bucket for the cluster backup.
bucketName
- the value to setpublic OpensearchClusterBackup.Builder prefix(String prefix)
The prefix within the Object Storage bucket for the cluster backup.
prefix
- the value to setpublic OpensearchClusterBackup.Builder timeExpired(Date timeExpired)
The date and time the cluster backup expires. Format defined by RFC3339.
timeExpired
- the value to setpublic OpensearchClusterBackup.Builder backupSize(Double backupSize)
The size in GB of the cluster backup.
backupSize
- the value to setpublic OpensearchClusterBackup.Builder sourceClusterDisplayName(String sourceClusterDisplayName)
The name of the source OpenSearch cluster for the cluster backup.
sourceClusterDisplayName
- the value to setpublic OpensearchClusterBackup.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 OpensearchClusterBackup.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 OpensearchClusterBackup.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 OpensearchClusterBackup build()
public OpensearchClusterBackup.Builder copy(OpensearchClusterBackup model)
Copyright © 2016–2024. All rights reserved.