Class PutOfferingInstanceOptions.Builder

  • Enclosing class:
    PutOfferingInstanceOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

        public PutOfferingInstanceOptions.Builder instanceIdentifier​(java.lang.String instanceIdentifier)
        Set the instanceIdentifier.
        Parameters:
        instanceIdentifier - the instanceIdentifier
        Returns:
        the PutOfferingInstanceOptions builder
      • xAuthRefreshToken

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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