Package com.oracle.bmc.artifacts.model
Class ContainerRepository.Builder
- java.lang.Object
- 
- com.oracle.bmc.artifacts.model.ContainerRepository.Builder
 
- 
- Enclosing class:
- ContainerRepository
 
 public static class ContainerRepository.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerRepository.BuilderbillableSizeInGBs(Long billableSizeInGBs)Total storage size in GBs that will be charged.ContainerRepositorybuild()ContainerRepository.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the container repository exists.ContainerRepository.Buildercopy(ContainerRepository model)ContainerRepository.BuildercreatedBy(String createdBy)The id of the user or principal that created the resource.ContainerRepository.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ContainerRepository.BuilderdisplayName(String displayName)The container repository name.ContainerRepository.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ContainerRepository.Builderid(String id)The OCID of the container repository.ContainerRepository.BuilderimageCount(Integer imageCount)Total number of images.ContainerRepository.BuilderisImmutable(Boolean isImmutable)Whether the repository is immutable.ContainerRepository.BuilderisPublic(Boolean isPublic)Whether the repository is public.ContainerRepository.BuilderlayerCount(Integer layerCount)Total number of layers.ContainerRepository.BuilderlayersSizeInBytes(Long layersSizeInBytes)Total storage in bytes consumed by layers.ContainerRepository.BuilderlifecycleState(ContainerRepository.LifecycleState lifecycleState)The current state of the container repository.ContainerRepository.Buildernamespace(String namespace)The tenancy namespace used in the container repository path.ContainerRepository.Builderreadme(ContainerRepositoryReadme readme)ContainerRepository.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags for this resource.ContainerRepository.BuildertimeCreated(Date timeCreated)An RFC 3339 timestamp indicating when the repository was created.ContainerRepository.BuildertimeLastPushed(Date timeLastPushed)An RFC 3339 timestamp indicating when an image was last pushed to the repository.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ContainerRepository.Builder compartmentId(String compartmentId) The OCID of the compartment in which the container repository exists.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
createdBypublic ContainerRepository.Builder createdBy(String createdBy) The id of the user or principal that created the resource.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ContainerRepository.Builder displayName(String displayName) The container repository name.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
idpublic ContainerRepository.Builder id(String id) The OCID of the container repository.Example: ocid1.containerrepo.oc1..exampleuniqueID - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
imageCountpublic ContainerRepository.Builder imageCount(Integer imageCount) Total number of images.- Parameters:
- imageCount- the value to set
- Returns:
- this builder
 
 - 
isImmutablepublic ContainerRepository.Builder isImmutable(Boolean isImmutable) Whether the repository is immutable.Images cannot be overwritten in an immutable repository. - Parameters:
- isImmutable- the value to set
- Returns:
- this builder
 
 - 
isPublicpublic ContainerRepository.Builder isPublic(Boolean isPublic) Whether the repository is public.A public repository allows unauthenticated access. - Parameters:
- isPublic- the value to set
- Returns:
- this builder
 
 - 
layerCountpublic ContainerRepository.Builder layerCount(Integer layerCount) Total number of layers.- Parameters:
- layerCount- the value to set
- Returns:
- this builder
 
 - 
layersSizeInBytespublic ContainerRepository.Builder layersSizeInBytes(Long layersSizeInBytes) Total storage in bytes consumed by layers.- Parameters:
- layersSizeInBytes- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ContainerRepository.Builder lifecycleState(ContainerRepository.LifecycleState lifecycleState) The current state of the container repository.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
readmepublic ContainerRepository.Builder readme(ContainerRepositoryReadme readme) 
 - 
timeCreatedpublic ContainerRepository.Builder timeCreated(Date timeCreated) An RFC 3339 timestamp indicating when the repository was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeLastPushedpublic ContainerRepository.Builder timeLastPushed(Date timeLastPushed) An RFC 3339 timestamp indicating when an image was last pushed to the repository.- Parameters:
- timeLastPushed- the value to set
- Returns:
- this builder
 
 - 
billableSizeInGBspublic ContainerRepository.Builder billableSizeInGBs(Long billableSizeInGBs) Total storage size in GBs that will be charged.- Parameters:
- billableSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
namespacepublic ContainerRepository.Builder namespace(String namespace) The tenancy namespace used in the container repository path.- Parameters:
- namespace- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ContainerRepository build() 
 - 
copypublic ContainerRepository.Builder copy(ContainerRepository model) 
 
- 
 
-