Class ContainerImage.Builder
- java.lang.Object
- 
- com.oracle.bmc.artifacts.model.ContainerImage.Builder
 
- 
- Enclosing class:
- ContainerImage
 
 public static class ContainerImage.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerImagebuild()ContainerImage.BuildercompartmentId(String compartmentId)The compartment OCID to which the container image belongs.ContainerImage.Buildercopy(ContainerImage model)ContainerImage.BuildercreatedBy(String createdBy)The OCID of the user or principal that created the resource.ContainerImage.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ContainerImage.Builderdigest(String digest)The container image digest.ContainerImage.BuilderdisplayName(String displayName)The repository name and the most recent version associated with the image.ContainerImage.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ContainerImage.Builderid(String id)The OCID of the container image.ContainerImage.Builderlayers(List<ContainerImageLayer> layers)Layers of which the image is composed, ordered by the layer digest.ContainerImage.BuilderlayersSizeInBytes(Long layersSizeInBytes)The total size of the container image layers in bytes.ContainerImage.BuilderlifecycleState(ContainerImage.LifecycleState lifecycleState)The current state of the container image.ContainerImage.BuildermanifestSizeInBytes(Integer manifestSizeInBytes)The size of the container image manifest in bytes.ContainerImage.BuilderpullCount(Long pullCount)Total number of pulls.ContainerImage.BuilderrepositoryId(String repositoryId)The OCID of the container repository.ContainerImage.BuilderrepositoryName(String repositoryName)The container repository name.ContainerImage.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags for this resource.ContainerImage.BuildertimeCreated(Date timeCreated)An RFC 3339 timestamp indicating when the image was created.ContainerImage.BuildertimeLastPulled(Date timeLastPulled)An RFC 3339 timestamp indicating when the image was last pulled.ContainerImage.Builderversion(String version)The most recent version associated with this image.ContainerImage.Builderversions(List<ContainerVersion> versions)The versions associated with this image.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ContainerImage.Builder compartmentId(String compartmentId) The compartment OCID to which the container image belongs.Inferred from the container repository. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
createdBypublic ContainerImage.Builder createdBy(String createdBy) The OCID of the user or principal that created the resource.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
digestpublic ContainerImage.Builder digest(String digest) The container image digest.- Parameters:
- digest- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ContainerImage.Builder displayName(String displayName) The repository name and the most recent version associated with the image.If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then ‘unknown’ is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
idpublic ContainerImage.Builder id(String id) The OCID of the container image.Example: ocid1.containerimage.oc1..exampleuniqueID - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
layerspublic ContainerImage.Builder layers(List<ContainerImageLayer> layers) Layers of which the image is composed, ordered by the layer digest.- Parameters:
- layers- the value to set
- Returns:
- this builder
 
 - 
layersSizeInBytespublic ContainerImage.Builder layersSizeInBytes(Long layersSizeInBytes) The total size of the container image layers in bytes.- Parameters:
- layersSizeInBytes- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ContainerImage.Builder lifecycleState(ContainerImage.LifecycleState lifecycleState) The current state of the container image.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
manifestSizeInBytespublic ContainerImage.Builder manifestSizeInBytes(Integer manifestSizeInBytes) The size of the container image manifest in bytes.- Parameters:
- manifestSizeInBytes- the value to set
- Returns:
- this builder
 
 - 
pullCountpublic ContainerImage.Builder pullCount(Long pullCount) Total number of pulls.- Parameters:
- pullCount- the value to set
- Returns:
- this builder
 
 - 
repositoryIdpublic ContainerImage.Builder repositoryId(String repositoryId) The OCID of the container repository.- Parameters:
- repositoryId- the value to set
- Returns:
- this builder
 
 - 
repositoryNamepublic ContainerImage.Builder repositoryName(String repositoryName) The container repository name.- Parameters:
- repositoryName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ContainerImage.Builder timeCreated(Date timeCreated) An RFC 3339 timestamp indicating when the image was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeLastPulledpublic ContainerImage.Builder timeLastPulled(Date timeLastPulled) An RFC 3339 timestamp indicating when the image was last pulled.- Parameters:
- timeLastPulled- the value to set
- Returns:
- this builder
 
 - 
versionpublic ContainerImage.Builder version(String version) The most recent version associated with this image.- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
versionspublic ContainerImage.Builder versions(List<ContainerVersion> versions) The versions associated with this image.- Parameters:
- versions- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ContainerImage.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
 
 - 
definedTagspublic ContainerImage.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
 
 - 
systemTagspublic ContainerImage.Builder systemTags(Map<String,Map<String,Object>> systemTags) The system tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ContainerImage build() 
 - 
copypublic ContainerImage.Builder copy(ContainerImage model) 
 
- 
 
-