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 |
displayName(String displayName)
The container repository name.
|
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 |
readme(ContainerRepositoryReadme readme) |
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 build()
public ContainerRepository.Builder copy(ContainerRepository model)
Copyright © 2016–2023. All rights reserved.