Class CloudAsmInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudAsmInstance.Builder
-
- Enclosing class:
- CloudAsmInstance
public static class CloudAsmInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudAsmInstance.Builder
adrHomeDirectory(String adrHomeDirectory)
The Automatic Diagnostic Repository (ADR) home directory for the ASM instance.CloudAsmInstance
build()
CloudAsmInstance.Builder
cloudAsmId(String cloudAsmId)
The OCID of the cloud ASM that the ASM instance belongs to.CloudAsmInstance.Builder
cloudDbNodeId(String cloudDbNodeId)
The OCID of the cloud DB node on which the ASM instance is running.CloudAsmInstance.Builder
cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the ASM instance is a part of.CloudAsmInstance.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CloudAsmInstance.Builder
componentName(String componentName)
The name of the cloud ASM instance.CloudAsmInstance.Builder
copy(CloudAsmInstance model)
CloudAsmInstance.Builder
dbaasId(String dbaasId)
The OCID in DBaas service.CloudAsmInstance.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CloudAsmInstance.Builder
displayName(String displayName)
The user-friendly name for the ASM instance.CloudAsmInstance.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CloudAsmInstance.Builder
hostName(String hostName)
The name of the host on which the ASM instance is running.CloudAsmInstance.Builder
id(String id)
The OCID of the cloud ASM instance.CloudAsmInstance.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.CloudAsmInstance.Builder
lifecycleState(CloudAsmInstance.LifecycleState lifecycleState)
The current lifecycle state of the cloud ASM instance.CloudAsmInstance.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CloudAsmInstance.Builder
timeCreated(Date timeCreated)
The date and time the cloud ASM instance was created.CloudAsmInstance.Builder
timeUpdated(Date timeUpdated)
The date and time the cloud ASM instance was last updated.
-
-
-
Method Detail
-
id
public CloudAsmInstance.Builder id(String id)
The OCID of the cloud ASM instance.- Parameters:
id
- the value to set- Returns:
- this builder
-
dbaasId
public CloudAsmInstance.Builder dbaasId(String dbaasId)
The OCID in DBaas service.- Parameters:
dbaasId
- the value to set- Returns:
- this builder
-
displayName
public CloudAsmInstance.Builder displayName(String displayName)
The user-friendly name for the ASM instance.The name does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
componentName
public CloudAsmInstance.Builder componentName(String componentName)
The name of the cloud ASM instance.- Parameters:
componentName
- the value to set- Returns:
- this builder
-
compartmentId
public CloudAsmInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
cloudAsmId
public CloudAsmInstance.Builder cloudAsmId(String cloudAsmId)
The OCID of the cloud ASM that the ASM instance belongs to.- Parameters:
cloudAsmId
- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudAsmInstance.Builder cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the ASM instance is a part of.- Parameters:
cloudDbSystemId
- the value to set- Returns:
- this builder
-
cloudDbNodeId
public CloudAsmInstance.Builder cloudDbNodeId(String cloudDbNodeId)
The OCID of the cloud DB node on which the ASM instance is running.- Parameters:
cloudDbNodeId
- the value to set- Returns:
- this builder
-
adrHomeDirectory
public CloudAsmInstance.Builder adrHomeDirectory(String adrHomeDirectory)
The Automatic Diagnostic Repository (ADR) home directory for the ASM instance.- Parameters:
adrHomeDirectory
- the value to set- Returns:
- this builder
-
hostName
public CloudAsmInstance.Builder hostName(String hostName)
The name of the host on which the ASM instance is running.- Parameters:
hostName
- the value to set- Returns:
- this builder
-
lifecycleState
public CloudAsmInstance.Builder lifecycleState(CloudAsmInstance.LifecycleState lifecycleState)
The current lifecycle state of the cloud ASM instance.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudAsmInstance.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public CloudAsmInstance.Builder timeCreated(Date timeCreated)
The date and time the cloud ASM instance was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public CloudAsmInstance.Builder timeUpdated(Date timeUpdated)
The date and time the cloud ASM instance was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public CloudAsmInstance.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 CloudAsmInstance.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 CloudAsmInstance.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 CloudAsmInstance build()
-
copy
public CloudAsmInstance.Builder copy(CloudAsmInstance model)
-
-