Class ContainerRepository.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public 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
      • createdBy

        public 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
      • displayName

        public ContainerRepository.Builder displayName​(String displayName)
        The container repository name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • id

        public 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
      • imageCount

        public ContainerRepository.Builder imageCount​(Integer imageCount)
        Total number of images.
        Parameters:
        imageCount - the value to set
        Returns:
        this builder
      • isImmutable

        public 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
      • isPublic

        public 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
      • layerCount

        public ContainerRepository.Builder layerCount​(Integer layerCount)
        Total number of layers.
        Parameters:
        layerCount - the value to set
        Returns:
        this builder
      • layersSizeInBytes

        public ContainerRepository.Builder layersSizeInBytes​(Long layersSizeInBytes)
        Total storage in bytes consumed by layers.
        Parameters:
        layersSizeInBytes - the value to set
        Returns:
        this builder
      • timeCreated

        public ContainerRepository.Builder timeCreated​(Date timeCreated)
        An RFC 3339 timestamp indicating when the repository was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeLastPushed

        public 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
      • billableSizeInGBs

        public ContainerRepository.Builder billableSizeInGBs​(Long billableSizeInGBs)
        Total storage size in GBs that will be charged.
        Parameters:
        billableSizeInGBs - the value to set
        Returns:
        this builder
      • namespace

        public ContainerRepository.Builder namespace​(String namespace)
        The tenancy namespace used in the container repository path.
        Parameters:
        namespace - the value to set
        Returns:
        this builder
      • freeformTags

        public 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
      • definedTags

        public 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
      • systemTags

        public 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