Class CloudAsm.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudAsm.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudAsm.Builder
additionalDetails(Map<String,String> additionalDetails)
The additional details of the cloud ASM defined in {“key”: “value”} format.CloudAsm
build()
CloudAsm.Builder
cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.CloudAsm.Builder
cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the ASM is a part of.CloudAsm.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CloudAsm.Builder
componentName(String componentName)
The name of the cloud ASM.CloudAsm.Builder
copy(CloudAsm model)
CloudAsm.Builder
dbaasId(String dbaasId)
The OCID in DBaas service.CloudAsm.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CloudAsm.Builder
displayName(String displayName)
The user-friendly name for the cloud ASM.CloudAsm.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CloudAsm.Builder
gridHome(String gridHome)
The directory in which ASM is installed.CloudAsm.Builder
id(String id)
The OCID of the cloud ASM.CloudAsm.Builder
isCluster(Boolean isCluster)
Indicates whether the ASM is a cluster ASM or not.CloudAsm.Builder
isFlexEnabled(Boolean isFlexEnabled)
Indicates whether Oracle Flex ASM is enabled or not.CloudAsm.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.CloudAsm.Builder
lifecycleState(CloudAsm.LifecycleState lifecycleState)
The current lifecycle state of the cloud ASM.CloudAsm.Builder
servicedDatabases(List<CloudAsmServicedDatabase> servicedDatabases)
The list of databases that are serviced by the ASM.CloudAsm.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CloudAsm.Builder
timeCreated(Date timeCreated)
The date and time the cloud ASM was created.CloudAsm.Builder
timeUpdated(Date timeUpdated)
The date and time the cloud ASM was last updated.CloudAsm.Builder
version(String version)
The ASM version.
-
-
-
Method Detail
-
id
public CloudAsm.Builder id(String id)
The OCID of the cloud ASM.- Parameters:
id
- the value to set- Returns:
- this builder
-
dbaasId
public CloudAsm.Builder dbaasId(String dbaasId)
The OCID in DBaas service.- Parameters:
dbaasId
- the value to set- Returns:
- this builder
-
displayName
public CloudAsm.Builder displayName(String displayName)
The user-friendly name for the cloud ASM.The name does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
componentName
public CloudAsm.Builder componentName(String componentName)
The name of the cloud ASM.- Parameters:
componentName
- the value to set- Returns:
- this builder
-
compartmentId
public CloudAsm.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudAsm.Builder cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the ASM is a part of.- Parameters:
cloudDbSystemId
- the value to set- Returns:
- this builder
-
cloudConnectorId
public CloudAsm.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId
- the value to set- Returns:
- this builder
-
gridHome
public CloudAsm.Builder gridHome(String gridHome)
The directory in which ASM is installed.This is the same directory in which Oracle Grid Infrastructure is installed.
- Parameters:
gridHome
- the value to set- Returns:
- this builder
-
isCluster
public CloudAsm.Builder isCluster(Boolean isCluster)
Indicates whether the ASM is a cluster ASM or not.- Parameters:
isCluster
- the value to set- Returns:
- this builder
-
isFlexEnabled
public CloudAsm.Builder isFlexEnabled(Boolean isFlexEnabled)
Indicates whether Oracle Flex ASM is enabled or not.- Parameters:
isFlexEnabled
- the value to set- Returns:
- this builder
-
lifecycleState
public CloudAsm.Builder lifecycleState(CloudAsm.LifecycleState lifecycleState)
The current lifecycle state of the cloud ASM.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudAsm.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
servicedDatabases
public CloudAsm.Builder servicedDatabases(List<CloudAsmServicedDatabase> servicedDatabases)
The list of databases that are serviced by the ASM.- Parameters:
servicedDatabases
- the value to set- Returns:
- this builder
-
additionalDetails
public CloudAsm.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the cloud ASM defined in {“key”: “value”} format.Example: {“bar-key”: “value”}
- Parameters:
additionalDetails
- the value to set- Returns:
- this builder
-
timeCreated
public CloudAsm.Builder timeCreated(Date timeCreated)
The date and time the cloud ASM was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public CloudAsm.Builder timeUpdated(Date timeUpdated)
The date and time the cloud ASM was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
version
public CloudAsm.Builder version(String version)
The ASM version.- Parameters:
version
- the value to set- Returns:
- this builder
-
freeformTags
public CloudAsm.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 CloudAsm.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 CloudAsm.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. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public CloudAsm build()
-
copy
public CloudAsm.Builder copy(CloudAsm model)
-
-