Class KVSecretMetadataPatch.Builder

    • Constructor Detail

      • Builder

        public Builder​(SecretMetadataPatch kvSecretMetadataPatch)
        Instantiates a new Builder from an existing KVSecretMetadataPatch instance.
        Parameters:
        kvSecretMetadataPatch - the instance to initialize the Builder with
      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public KVSecretMetadataPatch build()
        Builds a KVSecretMetadataPatch.
        Returns:
        the new KVSecretMetadataPatch instance
      • addLabels

        public KVSecretMetadataPatch.Builder addLabels​(String labels)
        Adds a new element to labels.
        Parameters:
        labels - the new element to be added
        Returns:
        the KVSecretMetadataPatch builder
      • description

        public KVSecretMetadataPatch.Builder description​(String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the KVSecretMetadataPatch builder
      • labels

        public KVSecretMetadataPatch.Builder labels​(List<String> labels)
        Set the labels. Existing labels will be replaced.
        Parameters:
        labels - the labels
        Returns:
        the KVSecretMetadataPatch builder
      • customMetadata

        public KVSecretMetadataPatch.Builder customMetadata​(Map<String,​Object> customMetadata)
        Set the customMetadata.
        Parameters:
        customMetadata - the customMetadata
        Returns:
        the KVSecretMetadataPatch builder