Package com.oracle.bmc.artifacts.model
Class ContainerRepositorySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.artifacts.model.ContainerRepositorySummary.Builder
-
- Enclosing class:
- ContainerRepositorySummary
public static class ContainerRepositorySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public ContainerRepositorySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ContainerRepositorySummary.Builder displayName(String displayName)
The container repository name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
id
public ContainerRepositorySummary.Builder id(String id)
The OCID of the container repository.Example: ocid1.containerrepo.oc1..exampleuniqueID
- Parameters:
id
- the value to set- Returns:
- this builder
-
imageCount
public ContainerRepositorySummary.Builder imageCount(Integer imageCount)
Total number of images.- Parameters:
imageCount
- the value to set- Returns:
- this builder
-
isPublic
public ContainerRepositorySummary.Builder isPublic(Boolean isPublic)
Whether the repository is public.A public repository allows unauthenticated access.
- Parameters:
isPublic
- the value to set- Returns:
- this builder
-
layerCount
public ContainerRepositorySummary.Builder layerCount(Integer layerCount)
Total number of layers.- Parameters:
layerCount
- the value to set- Returns:
- this builder
-
layersSizeInBytes
public ContainerRepositorySummary.Builder layersSizeInBytes(Long layersSizeInBytes)
Total storage in bytes consumed by layers.- Parameters:
layersSizeInBytes
- the value to set- Returns:
- this builder
-
lifecycleState
public ContainerRepositorySummary.Builder lifecycleState(ContainerRepository.LifecycleState lifecycleState)
The current state of the container repository.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ContainerRepositorySummary.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the repository was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
billableSizeInGBs
public ContainerRepositorySummary.Builder billableSizeInGBs(Long billableSizeInGBs)
Total storage size in GBs that will be charged.- Parameters:
billableSizeInGBs
- the value to set- Returns:
- this builder
-
namespace
public ContainerRepositorySummary.Builder namespace(String namespace)
The tenancy namespace used in the container repository path.- Parameters:
namespace
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ContainerRepositorySummary build()
-
copy
public ContainerRepositorySummary.Builder copy(ContainerRepositorySummary model)
-
-