Interface CreateServiceInstanceRequest.Builder

    • Method Detail

      • clientToken

        CreateServiceInstanceRequest.Builder clientToken​(String clientToken)

        The client token of the service instance to create.

        Parameters:
        clientToken - The client token of the service instance to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateServiceInstanceRequest.Builder name​(String name)

        The name of the service instance to create.

        Parameters:
        name - The name of the service instance to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        CreateServiceInstanceRequest.Builder serviceName​(String serviceName)

        The name of the service the service instance is added to.

        Parameters:
        serviceName - The name of the service the service instance is added to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • spec

        CreateServiceInstanceRequest.Builder spec​(String spec)

        The spec for the service instance you want to create.

        Parameters:
        spec - The spec for the service instance you want to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServiceInstanceRequest.Builder tags​(Collection<Tag> tags)

        An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        Parameters:
        tags - An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServiceInstanceRequest.Builder tags​(Tag... tags)

        An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        Parameters:
        tags - An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServiceInstanceRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • templateMajorVersion

        CreateServiceInstanceRequest.Builder templateMajorVersion​(String templateMajorVersion)

        To create a new major and minor version of the service template, exclude major Version.

        Parameters:
        templateMajorVersion - To create a new major and minor version of the service template, exclude major Version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateMinorVersion

        CreateServiceInstanceRequest.Builder templateMinorVersion​(String templateMinorVersion)

        To create a new minor version of the service template, include a major Version.

        Parameters:
        templateMinorVersion - To create a new minor version of the service template, include a major Version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.