Class OfferingInstance.Builder

  • Enclosing class:
    OfferingInstance

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

      • Builder

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

      • build

        public OfferingInstance build()
        Builds a OfferingInstance.
        Returns:
        the new OfferingInstance instance
      • addClusterNamespaces

        public OfferingInstance.Builder addClusterNamespaces​(java.lang.String clusterNamespaces)
        Adds an clusterNamespaces to clusterNamespaces.
        Parameters:
        clusterNamespaces - the new clusterNamespaces
        Returns:
        the OfferingInstance builder
      • id

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

        public OfferingInstance.Builder rev​(java.lang.String rev)
        Set the rev.
        Parameters:
        rev - the rev
        Returns:
        the OfferingInstance builder
      • url

        public OfferingInstance.Builder url​(java.lang.String url)
        Set the url.
        Parameters:
        url - the url
        Returns:
        the OfferingInstance builder
      • crn

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

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

        public OfferingInstance.Builder catalogId​(java.lang.String catalogId)
        Set the catalogId.
        Parameters:
        catalogId - the catalogId
        Returns:
        the OfferingInstance builder
      • offeringId

        public OfferingInstance.Builder offeringId​(java.lang.String offeringId)
        Set the offeringId.
        Parameters:
        offeringId - the offeringId
        Returns:
        the OfferingInstance builder
      • kindFormat

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

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

        public OfferingInstance.Builder clusterId​(java.lang.String clusterId)
        Set the clusterId.
        Parameters:
        clusterId - the clusterId
        Returns:
        the OfferingInstance builder
      • clusterRegion

        public OfferingInstance.Builder clusterRegion​(java.lang.String clusterRegion)
        Set the clusterRegion.
        Parameters:
        clusterRegion - the clusterRegion
        Returns:
        the OfferingInstance builder
      • clusterNamespaces

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

        public OfferingInstance.Builder clusterAllNamespaces​(java.lang.Boolean clusterAllNamespaces)
        Set the clusterAllNamespaces.
        Parameters:
        clusterAllNamespaces - the clusterAllNamespaces
        Returns:
        the OfferingInstance builder
      • schematicsWorkspaceId

        public OfferingInstance.Builder schematicsWorkspaceId​(java.lang.String schematicsWorkspaceId)
        Set the schematicsWorkspaceId.
        Parameters:
        schematicsWorkspaceId - the schematicsWorkspaceId
        Returns:
        the OfferingInstance builder
      • resourceGroupId

        public OfferingInstance.Builder resourceGroupId​(java.lang.String resourceGroupId)
        Set the resourceGroupId.
        Parameters:
        resourceGroupId - the resourceGroupId
        Returns:
        the OfferingInstance builder
      • installPlan

        public OfferingInstance.Builder installPlan​(java.lang.String installPlan)
        Set the installPlan.
        Parameters:
        installPlan - the installPlan
        Returns:
        the OfferingInstance builder
      • channel

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

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