Class ContainerImageSignature.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ContainerImageSignature.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 ContainerImageSignature.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 ContainerImageSignature.Builder displayName​(String displayName)
        The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId, the signingAlgorithm, and the last 10 characters of the signatureId.

        Example: wrmz22sixa::qdwyc2ptun::SHA_256_RSA_PKCS_PSS::2vwmobasva

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • id

        public ContainerImageSignature.Builder id​(String id)
        The OCID of the container image signature.

        Example: ocid1.containerimagesignature.oc1..exampleuniqueID

        Parameters:
        id - the value to set
        Returns:
        this builder
      • imageId

        public ContainerImageSignature.Builder imageId​(String imageId)
        The OCID of the container image.

        Example: ocid1.containerimage.oc1..exampleuniqueID

        Parameters:
        imageId - the value to set
        Returns:
        this builder
      • kmsKeyId

        public ContainerImageSignature.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the kmsKeyId used to sign the container image.

        Example: ocid1.key.oc1..exampleuniqueID

        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • kmsKeyVersionId

        public ContainerImageSignature.Builder kmsKeyVersionId​(String kmsKeyVersionId)
        The OCID of the kmsKeyVersionId used to sign the container image.

        Example: ocid1.keyversion.oc1..exampleuniqueID

        Parameters:
        kmsKeyVersionId - the value to set
        Returns:
        this builder
      • message

        public ContainerImageSignature.Builder message​(String message)
        The base64 encoded signature payload that was signed.
        Parameters:
        message - the value to set
        Returns:
        this builder
      • signature

        public ContainerImageSignature.Builder signature​(String signature)
        The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
        Parameters:
        signature - the value to set
        Returns:
        this builder
      • timeCreated

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

        public ContainerImageSignature.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 ContainerImageSignature.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 ContainerImageSignature.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