public static class ContainerRepositorySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public ContainerRepositorySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
compartmentId
- the value to setpublic ContainerRepositorySummary.Builder displayName(String displayName)
The container repository name.
displayName
- the value to setpublic ContainerRepositorySummary.Builder id(String id)
The OCID of the container repository.
Example: ocid1.containerrepo.oc1..exampleuniqueID
id
- the value to setpublic ContainerRepositorySummary.Builder imageCount(Integer imageCount)
Total number of images.
imageCount
- the value to setpublic ContainerRepositorySummary.Builder isPublic(Boolean isPublic)
Whether the repository is public. A public repository allows unauthenticated access.
isPublic
- the value to setpublic ContainerRepositorySummary.Builder layerCount(Integer layerCount)
Total number of layers.
layerCount
- the value to setpublic ContainerRepositorySummary.Builder layersSizeInBytes(Long layersSizeInBytes)
Total storage in bytes consumed by layers.
layersSizeInBytes
- the value to setpublic ContainerRepositorySummary.Builder lifecycleState(ContainerRepository.LifecycleState lifecycleState)
The current state of the container repository.
lifecycleState
- the value to setpublic ContainerRepositorySummary.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the repository was created.
timeCreated
- the value to setpublic ContainerRepositorySummary.Builder billableSizeInGBs(Long billableSizeInGBs)
Total storage size in GBs that will be charged.
billableSizeInGBs
- the value to setpublic ContainerRepositorySummary.Builder namespace(String namespace)
The tenancy namespace used in the container repository path.
namespace
- the value to setpublic ContainerRepositorySummary.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"}
freeformTags
- the value to setpublic ContainerRepositorySummary.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"}}
definedTags
- the value to setpublic ContainerRepositorySummary.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"}}
systemTags
- the value to setpublic ContainerRepositorySummary build()
public ContainerRepositorySummary.Builder copy(ContainerRepositorySummary model)
Copyright © 2016–2024. All rights reserved.