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 ApplianceImageSummary
build()
ApplianceImageSummary.Builder
checksum(String checksum)
The checksum of the image file.ApplianceImageSummary.Builder
copy(ApplianceImageSummary model)
ApplianceImageSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.ApplianceImageSummary.Builder
displayName(String displayName)
The name of the image to be displayed.ApplianceImageSummary.Builder
downloadUrl(String downloadUrl)
The URL from which the appliance image can be downloaded.ApplianceImageSummary.Builder
fileName(String fileName)
The name of the appliance Image file.ApplianceImageSummary.Builder
format(String format)
The file format of the image file.ApplianceImageSummary.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.ApplianceImageSummary.Builder
id(String id)
Unique identifier that is immutable on creation.ApplianceImageSummary.Builder
lifecycleState(ApplianceImageSummary.LifecycleState lifecycleState)
The current state of the appliance image.ApplianceImageSummary.Builder
platform(String platform)
The virtualization platform that the image file supports.ApplianceImageSummary.Builder
sizeInMBs(String sizeInMBs)
The size of the image file in megabytes.ApplianceImageSummary.Builder
timeCreated(Date timeCreated)
The time when the appliance image was created.An RFC3339 formatted datetime string.ApplianceImageSummary.Builder
timeUpdated(Date timeUpdated)
The time when the appliance image was last updated.ApplianceImageSummary.Builder
version(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)
-
-