Interface ListSpacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSpacesResponse.Builder,ListSpacesResponse>,RepostspaceResponse.Builder,SdkBuilder<ListSpacesResponse.Builder,ListSpacesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSpacesResponse
public static interface ListSpacesResponse.Builder extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<ListSpacesResponse.Builder,ListSpacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSpacesResponse.BuildernextToken(String nextToken)The token that you use when you request the next set of private re:Posts.ListSpacesResponse.Builderspaces(Collection<SpaceData> spaces)An array of structures that contain some information about the private re:Posts in the account.ListSpacesResponse.Builderspaces(Consumer<SpaceData.Builder>... spaces)An array of structures that contain some information about the private re:Posts in the account.ListSpacesResponse.Builderspaces(SpaceData... spaces)An array of structures that contain some information about the private re:Posts in the account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.repostspace.model.RepostspaceResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListSpacesResponse.Builder nextToken(String nextToken)
The token that you use when you request the next set of private re:Posts.
- Parameters:
nextToken- The token that you use when you request the next set of private re:Posts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaces
ListSpacesResponse.Builder spaces(Collection<SpaceData> spaces)
An array of structures that contain some information about the private re:Posts in the account.
- Parameters:
spaces- An array of structures that contain some information about the private re:Posts in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaces
ListSpacesResponse.Builder spaces(SpaceData... spaces)
An array of structures that contain some information about the private re:Posts in the account.
- Parameters:
spaces- An array of structures that contain some information about the private re:Posts in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaces
ListSpacesResponse.Builder spaces(Consumer<SpaceData.Builder>... spaces)
An array of structures that contain some information about the private re:Posts in the account.
This is a convenience method that creates an instance of theSpaceData.Builderavoiding the need to create one manually viaSpaceData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#spaces(List.) - Parameters:
spaces- a consumer that will call methods onSpaceData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#spaces(java.util.Collection)
-
-