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