Class Deployment.Builder

  • Enclosing class:
    Deployment

    public static class Deployment.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

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

      • build

        public Deployment build()
        Builds a Deployment.
        Returns:
        the new Deployment instance
      • addTags

        public Deployment.Builder addTags​(java.lang.String tags)
        Adds an tags to tags.
        Parameters:
        tags - the new tags
        Returns:
        the Deployment builder
      • id

        public Deployment.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the Deployment builder
      • label

        public Deployment.Builder label​(java.lang.String label)
        Set the label.
        Parameters:
        label - the label
        Returns:
        the Deployment builder
      • name

        public Deployment.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the Deployment builder
      • shortDescription

        public Deployment.Builder shortDescription​(java.lang.String shortDescription)
        Set the shortDescription.
        Parameters:
        shortDescription - the shortDescription
        Returns:
        the Deployment builder
      • longDescription

        public Deployment.Builder longDescription​(java.lang.String longDescription)
        Set the longDescription.
        Parameters:
        longDescription - the longDescription
        Returns:
        the Deployment builder
      • metadata

        public Deployment.Builder metadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
        Set the metadata.
        Parameters:
        metadata - the metadata
        Returns:
        the Deployment builder
      • tags

        public Deployment.Builder tags​(java.util.List<java.lang.String> tags)
        Set the tags. Existing tags will be replaced.
        Parameters:
        tags - the tags
        Returns:
        the Deployment builder
      • created

        public Deployment.Builder created​(java.util.Date created)
        Set the created.
        Parameters:
        created - the created
        Returns:
        the Deployment builder
      • updated

        public Deployment.Builder updated​(java.util.Date updated)
        Set the updated.
        Parameters:
        updated - the updated
        Returns:
        the Deployment builder