Class CloudAsmSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudAsmSummary.Builder
-
- Enclosing class:
- CloudAsmSummary
public static class CloudAsmSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudAsmSummary
build()
CloudAsmSummary.Builder
cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.CloudAsmSummary.Builder
cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the ASM is a part of.CloudAsmSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CloudAsmSummary.Builder
componentName(String componentName)
The name of the cloud ASM.CloudAsmSummary.Builder
copy(CloudAsmSummary model)
CloudAsmSummary.Builder
dbaasId(String dbaasId)
The OCID in DBaas service.CloudAsmSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CloudAsmSummary.Builder
displayName(String displayName)
The user-friendly name for the cloud ASM.CloudAsmSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CloudAsmSummary.Builder
id(String id)
The OCID of the cloud ASM.CloudAsmSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.CloudAsmSummary.Builder
lifecycleState(CloudAsm.LifecycleState lifecycleState)
The current lifecycle state of the cloud ASM.CloudAsmSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CloudAsmSummary.Builder
timeCreated(Date timeCreated)
The date and time the cloud ASM was created.CloudAsmSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the cloud ASM was last updated.
-
-
-
Method Detail
-
id
public CloudAsmSummary.Builder id(String id)
The OCID of the cloud ASM.- Parameters:
id
- the value to set- Returns:
- this builder
-
dbaasId
public CloudAsmSummary.Builder dbaasId(String dbaasId)
The OCID in DBaas service.- Parameters:
dbaasId
- the value to set- Returns:
- this builder
-
displayName
public CloudAsmSummary.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 CloudAsmSummary.Builder componentName(String componentName)
The name of the cloud ASM.- Parameters:
componentName
- the value to set- Returns:
- this builder
-
compartmentId
public CloudAsmSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudAsmSummary.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 CloudAsmSummary.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId
- the value to set- Returns:
- this builder
-
lifecycleState
public CloudAsmSummary.Builder lifecycleState(CloudAsm.LifecycleState lifecycleState)
The current lifecycle state of the cloud ASM.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudAsmSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public CloudAsmSummary.Builder timeCreated(Date timeCreated)
The date and time the cloud ASM was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public CloudAsmSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cloud ASM was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public CloudAsmSummary.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 CloudAsmSummary.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 CloudAsmSummary.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 CloudAsmSummary build()
-
copy
public CloudAsmSummary.Builder copy(CloudAsmSummary model)
-
-