Class ContainerImageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.artifacts.model.ContainerImageSummary.Builder
-
- Enclosing class:
- ContainerImageSummary
public static class ContainerImageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerImageSummary
build()
ContainerImageSummary.Builder
compartmentId(String compartmentId)
The compartment OCID to which the container image belongs.ContainerImageSummary.Builder
copy(ContainerImageSummary model)
ContainerImageSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ContainerImageSummary.Builder
digest(String digest)
The container image digest.ContainerImageSummary.Builder
displayName(String displayName)
The repository name and the most recent version associated with the image.ContainerImageSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ContainerImageSummary.Builder
id(String id)
The OCID of the container image.ContainerImageSummary.Builder
lifecycleState(ContainerImage.LifecycleState lifecycleState)
The current state of the container image.ContainerImageSummary.Builder
repositoryId(String repositoryId)
The OCID of the container repository.ContainerImageSummary.Builder
repositoryName(String repositoryName)
The container repository name.ContainerImageSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags for this resource.ContainerImageSummary.Builder
timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.ContainerImageSummary.Builder
version(String version)
The most recent version associated with this image.
-
-
-
Method Detail
-
compartmentId
public ContainerImageSummary.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
-
digest
public ContainerImageSummary.Builder digest(String digest)
The container image digest.- Parameters:
digest
- the value to set- Returns:
- this builder
-
displayName
public ContainerImageSummary.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
-
id
public ContainerImageSummary.Builder id(String id)
The OCID of the container image.Example: ocid1.containerimage.oc1..exampleuniqueID
- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public ContainerImageSummary.Builder lifecycleState(ContainerImage.LifecycleState lifecycleState)
The current state of the container image.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
repositoryId
public ContainerImageSummary.Builder repositoryId(String repositoryId)
The OCID of the container repository.- Parameters:
repositoryId
- the value to set- Returns:
- this builder
-
repositoryName
public ContainerImageSummary.Builder repositoryName(String repositoryName)
The container repository name.- Parameters:
repositoryName
- the value to set- Returns:
- this builder
-
timeCreated
public ContainerImageSummary.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
version
public ContainerImageSummary.Builder version(String version)
The most recent version associated with this image.- Parameters:
version
- the value to set- Returns:
- this builder
-
freeformTags
public ContainerImageSummary.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
-
definedTags
public ContainerImageSummary.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
-
systemTags
public ContainerImageSummary.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
-
build
public ContainerImageSummary build()
-
copy
public ContainerImageSummary.Builder copy(ContainerImageSummary model)
-
-