Package com.oracle.bmc.cloudbridge.model
Class ApplianceImageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.ApplianceImageSummary.Builder
-
- Enclosing class:
- ApplianceImageSummary
public static class ApplianceImageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplianceImageSummarybuild()ApplianceImageSummary.Builderchecksum(String checksum)The checksum of the image file.ApplianceImageSummary.Buildercopy(ApplianceImageSummary model)ApplianceImageSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.ApplianceImageSummary.BuilderdisplayName(String displayName)The name of the image to be displayed.ApplianceImageSummary.BuilderdownloadUrl(String downloadUrl)The URL from which the appliance image can be downloaded.ApplianceImageSummary.BuilderfileName(String fileName)The name of the appliance Image file.ApplianceImageSummary.Builderformat(String format)The file format of the image file.ApplianceImageSummary.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.ApplianceImageSummary.Builderid(String id)Unique identifier that is immutable on creation.ApplianceImageSummary.BuilderlifecycleState(ApplianceImageSummary.LifecycleState lifecycleState)The current state of the appliance image.ApplianceImageSummary.Builderplatform(String platform)The virtualization platform that the image file supports.ApplianceImageSummary.BuildersizeInMBs(String sizeInMBs)The size of the image file in megabytes.ApplianceImageSummary.BuildertimeCreated(Date timeCreated)The time when the appliance image was created.An RFC3339 formatted datetime string.ApplianceImageSummary.BuildertimeUpdated(Date timeUpdated)The time when the appliance image was last updated.ApplianceImageSummary.Builderversion(String version)The version of the image file.
-
-
-
Method Detail
-
id
public ApplianceImageSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
fileName
public ApplianceImageSummary.Builder fileName(String fileName)
The name of the appliance Image file.- Parameters:
fileName- the value to set- Returns:
- this builder
-
displayName
public ApplianceImageSummary.Builder displayName(String displayName)
The name of the image to be displayed.- Parameters:
displayName- the value to set- Returns:
- this builder
-
version
public ApplianceImageSummary.Builder version(String version)
The version of the image file.- Parameters:
version- the value to set- Returns:
- this builder
-
sizeInMBs
public ApplianceImageSummary.Builder sizeInMBs(String sizeInMBs)
The size of the image file in megabytes.- Parameters:
sizeInMBs- the value to set- Returns:
- this builder
-
checksum
public ApplianceImageSummary.Builder checksum(String checksum)
The checksum of the image file.- Parameters:
checksum- the value to set- Returns:
- this builder
-
platform
public ApplianceImageSummary.Builder platform(String platform)
The virtualization platform that the image file supports.- Parameters:
platform- the value to set- Returns:
- this builder
-
format
public ApplianceImageSummary.Builder format(String format)
The file format of the image file.- Parameters:
format- the value to set- Returns:
- this builder
-
timeCreated
public ApplianceImageSummary.Builder timeCreated(Date timeCreated)
The time when the appliance image was created.An RFC3339 formatted datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ApplianceImageSummary.Builder timeUpdated(Date timeUpdated)
The time when the appliance image was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public ApplianceImageSummary.Builder lifecycleState(ApplianceImageSummary.LifecycleState lifecycleState)
The current state of the appliance image.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
downloadUrl
public ApplianceImageSummary.Builder downloadUrl(String downloadUrl)
The URL from which the appliance image can be downloaded.- Parameters:
downloadUrl- the value to set- Returns:
- this builder
-
freeformTags
public ApplianceImageSummary.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ApplianceImageSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public ApplianceImageSummary build()
-
copy
public ApplianceImageSummary.Builder copy(ApplianceImageSummary model)
-
-