public static class ContainerRepository.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContainerRepository.Builder |
billableSizeInGBs(Long billableSizeInGBs)
Total storage size in GBs that will be charged.
|
ContainerRepository |
build() |
ContainerRepository.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
|
ContainerRepository.Builder |
copy(ContainerRepository model) |
ContainerRepository.Builder |
createdBy(String createdBy)
The id of the user or principal that created the resource.
|
ContainerRepository.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ContainerRepository.Builder |
displayName(String displayName)
The container repository name.
|
ContainerRepository.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ContainerRepository.Builder |
id(String id)
The OCID
of the container repository.
|
ContainerRepository.Builder |
imageCount(Integer imageCount)
Total number of images.
|
ContainerRepository.Builder |
isImmutable(Boolean isImmutable)
Whether the repository is immutable.
|
ContainerRepository.Builder |
isPublic(Boolean isPublic)
Whether the repository is public.
|
ContainerRepository.Builder |
layerCount(Integer layerCount)
Total number of layers.
|
ContainerRepository.Builder |
layersSizeInBytes(Long layersSizeInBytes)
Total storage in bytes consumed by layers.
|
ContainerRepository.Builder |
lifecycleState(ContainerRepository.LifecycleState lifecycleState)
The current state of the container repository.
|
ContainerRepository.Builder |
namespace(String namespace)
The tenancy namespace used in the container repository path.
|
ContainerRepository.Builder |
readme(ContainerRepositoryReadme readme) |
ContainerRepository.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags for this resource.
|
ContainerRepository.Builder |
timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the repository was created.
|
ContainerRepository.Builder |
timeLastPushed(Date timeLastPushed)
An RFC 3339 timestamp indicating when an image was last pushed to the repository.
|
public ContainerRepository.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
compartmentId
- the value to setpublic ContainerRepository.Builder createdBy(String createdBy)
The id of the user or principal that created the resource.
createdBy
- the value to setpublic ContainerRepository.Builder displayName(String displayName)
The container repository name.
displayName
- the value to setpublic ContainerRepository.Builder id(String id)
The OCID of the container repository.
Example: ocid1.containerrepo.oc1..exampleuniqueID
id
- the value to setpublic ContainerRepository.Builder imageCount(Integer imageCount)
Total number of images.
imageCount
- the value to setpublic ContainerRepository.Builder isImmutable(Boolean isImmutable)
Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
isImmutable
- the value to setpublic ContainerRepository.Builder isPublic(Boolean isPublic)
Whether the repository is public. A public repository allows unauthenticated access.
isPublic
- the value to setpublic ContainerRepository.Builder layerCount(Integer layerCount)
Total number of layers.
layerCount
- the value to setpublic ContainerRepository.Builder layersSizeInBytes(Long layersSizeInBytes)
Total storage in bytes consumed by layers.
layersSizeInBytes
- the value to setpublic ContainerRepository.Builder lifecycleState(ContainerRepository.LifecycleState lifecycleState)
The current state of the container repository.
lifecycleState
- the value to setpublic ContainerRepository.Builder readme(ContainerRepositoryReadme readme)
public ContainerRepository.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the repository was created.
timeCreated
- the value to setpublic ContainerRepository.Builder timeLastPushed(Date timeLastPushed)
An RFC 3339 timestamp indicating when an image was last pushed to the repository.
timeLastPushed
- the value to setpublic ContainerRepository.Builder billableSizeInGBs(Long billableSizeInGBs)
Total storage size in GBs that will be charged.
billableSizeInGBs
- the value to setpublic ContainerRepository.Builder namespace(String namespace)
The tenancy namespace used in the container repository path.
namespace
- the value to setpublic ContainerRepository.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 ContainerRepository.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 ContainerRepository.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 ContainerRepository build()
public ContainerRepository.Builder copy(ContainerRepository model)
Copyright © 2016–2024. All rights reserved.