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