Package com.oracle.bmc.core.model
Class ComputeImageCapabilitySchema.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ComputeImageCapabilitySchema.Builder
-
- Enclosing class:
- ComputeImageCapabilitySchema
public static class ComputeImageCapabilitySchema.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeImageCapabilitySchemabuild()ComputeImageCapabilitySchema.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the resource.ComputeImageCapabilitySchema.BuildercomputeGlobalImageCapabilitySchemaId(String computeGlobalImageCapabilitySchemaId)The ocid of the compute global image capability schemaComputeImageCapabilitySchema.BuildercomputeGlobalImageCapabilitySchemaVersionName(String computeGlobalImageCapabilitySchemaVersionName)The name of the compute global image capability schema versionComputeImageCapabilitySchema.Buildercopy(ComputeImageCapabilitySchema model)ComputeImageCapabilitySchema.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ComputeImageCapabilitySchema.BuilderdisplayName(String displayName)A user-friendly name.ComputeImageCapabilitySchema.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ComputeImageCapabilitySchema.Builderid(String id)The id of the compute global image capability schema versionComputeImageCapabilitySchema.BuilderimageId(String imageId)The OCID of the image associated with this compute image capability schemaComputeImageCapabilitySchema.BuilderlifecycleState(ComputeImageCapabilitySchema.LifecycleState lifecycleState)The ComputeImageCapabilitySchema current lifecycle state.ComputeImageCapabilitySchema.BuilderschemaData(Map<String,ImageCapabilitySchemaDescriptor> schemaData)The map of each capability name to its ImageCapabilityDescriptor.ComputeImageCapabilitySchema.BuildertimeCreated(Date timeCreated)The date and time the compute image capability schema was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public ComputeImageCapabilitySchema.Builder id(String id)
The id of the compute global image capability schema version- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ComputeImageCapabilitySchema.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
computeGlobalImageCapabilitySchemaId
public ComputeImageCapabilitySchema.Builder computeGlobalImageCapabilitySchemaId(String computeGlobalImageCapabilitySchemaId)
The ocid of the compute global image capability schema- Parameters:
computeGlobalImageCapabilitySchemaId- the value to set- Returns:
- this builder
-
computeGlobalImageCapabilitySchemaVersionName
public ComputeImageCapabilitySchema.Builder computeGlobalImageCapabilitySchemaVersionName(String computeGlobalImageCapabilitySchemaVersionName)
The name of the compute global image capability schema version- Parameters:
computeGlobalImageCapabilitySchemaVersionName- the value to set- Returns:
- this builder
-
imageId
public ComputeImageCapabilitySchema.Builder imageId(String imageId)
The OCID of the image associated with this compute image capability schema- Parameters:
imageId- the value to set- Returns:
- this builder
-
lifecycleState
public ComputeImageCapabilitySchema.Builder lifecycleState(ComputeImageCapabilitySchema.LifecycleState lifecycleState)
The ComputeImageCapabilitySchema current lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
definedTags
public ComputeImageCapabilitySchema.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
-
displayName
public ComputeImageCapabilitySchema.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
freeformTags
public ComputeImageCapabilitySchema.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
-
schemaData
public ComputeImageCapabilitySchema.Builder schemaData(Map<String,ImageCapabilitySchemaDescriptor> schemaData)
The map of each capability name to its ImageCapabilityDescriptor.- Parameters:
schemaData- the value to set- Returns:
- this builder
-
timeCreated
public ComputeImageCapabilitySchema.Builder timeCreated(Date timeCreated)
The date and time the compute image capability schema was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
build
public ComputeImageCapabilitySchema build()
-
copy
public ComputeImageCapabilitySchema.Builder copy(ComputeImageCapabilitySchema model)
-
-