Class CreateOfferingInstanceOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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