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 ComputeImageCapabilitySchema
build()
ComputeImageCapabilitySchema.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the resource.ComputeImageCapabilitySchema.Builder
computeGlobalImageCapabilitySchemaId(String computeGlobalImageCapabilitySchemaId)
The ocid of the compute global image capability schemaComputeImageCapabilitySchema.Builder
computeGlobalImageCapabilitySchemaVersionName(String computeGlobalImageCapabilitySchemaVersionName)
The name of the compute global image capability schema versionComputeImageCapabilitySchema.Builder
copy(ComputeImageCapabilitySchema model)
ComputeImageCapabilitySchema.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ComputeImageCapabilitySchema.Builder
displayName(String displayName)
A user-friendly name.ComputeImageCapabilitySchema.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ComputeImageCapabilitySchema.Builder
id(String id)
The id of the compute global image capability schema versionComputeImageCapabilitySchema.Builder
imageId(String imageId)
The OCID of the image associated with this compute image capability schemaComputeImageCapabilitySchema.Builder
schemaData(Map<String,ImageCapabilitySchemaDescriptor> schemaData)
The map of each capability name to its ImageCapabilityDescriptor.ComputeImageCapabilitySchema.Builder
timeCreated(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
-
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)
-
-