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 build()
public ContainerRepositorySummary.Builder copy(ContainerRepositorySummary model)
Copyright © 2016–2023. All rights reserved.