Class Overview.Builder

  • Enclosing class:
    Overview

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String version,
                       java.lang.String id)
        Instantiates a new builder with required properties.
        Parameters:
        version - the version
        id - the id
    • Method Detail

      • build

        public Overview build()
        Builds a Overview.
        Returns:
        the new Overview instance
      • addAuthoritativeDefinitions

        public Overview.Builder addAuthoritativeDefinitions​(ContractAuthoritativeDefinition authoritativeDefinitions)
        Adds a new element to authoritativeDefinitions.
        Parameters:
        authoritativeDefinitions - the new element to be added
        Returns:
        the Overview builder
      • addTags

        public Overview.Builder addTags​(java.lang.String tags)
        Adds a new element to tags.
        Parameters:
        tags - the new element to be added
        Returns:
        the Overview builder
      • apiVersion

        public Overview.Builder apiVersion​(java.lang.String apiVersion)
        Set the apiVersion.
        Parameters:
        apiVersion - the apiVersion
        Returns:
        the Overview builder
      • kind

        public Overview.Builder kind​(java.lang.String kind)
        Set the kind.
        Parameters:
        kind - the kind
        Returns:
        the Overview builder
      • status

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

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

        public Overview.Builder version​(java.lang.String version)
        Set the version.
        Parameters:
        version - the version
        Returns:
        the Overview builder
      • domain

        public Overview.Builder domain​(Domain domain)
        Set the domain.
        Parameters:
        domain - the domain
        Returns:
        the Overview builder
      • authoritativeDefinitions

        public Overview.Builder authoritativeDefinitions​(java.util.List<ContractAuthoritativeDefinition> authoritativeDefinitions)
        Set the authoritativeDefinitions. Existing authoritativeDefinitions will be replaced.
        Parameters:
        authoritativeDefinitions - the authoritativeDefinitions
        Returns:
        the Overview builder
      • id

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

        public Overview.Builder tenant​(java.lang.String tenant)
        Set the tenant.
        Parameters:
        tenant - the tenant
        Returns:
        the Overview builder
      • dataProduct

        public Overview.Builder dataProduct​(java.lang.String dataProduct)
        Set the dataProduct.
        Parameters:
        dataProduct - the dataProduct
        Returns:
        the Overview builder
      • contractCreatedTs

        public Overview.Builder contractCreatedTs​(java.util.Date contractCreatedTs)
        Set the contractCreatedTs.
        Parameters:
        contractCreatedTs - the contractCreatedTs
        Returns:
        the Overview builder
      • tags

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