Interface CreateSpaceRequest.Builder

    • Method Detail

      • domainId

        CreateSpaceRequest.Builder domainId​(String domainId)

        The ID of the associated Domain.

        Parameters:
        domainId - The ID of the associated Domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • spaceName

        CreateSpaceRequest.Builder spaceName​(String spaceName)

        The name of the space.

        Parameters:
        spaceName - The name of the space.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.

        Parameters:
        tags - Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSpaceRequest.Builder tags​(Tag... tags)

        Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.

        Parameters:
        tags - Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.

        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)
      • spaceSettings

        CreateSpaceRequest.Builder spaceSettings​(SpaceSettings spaceSettings)

        A collection of space settings.

        Parameters:
        spaceSettings - A collection of space settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.