Interface ListSpacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSpacesResponse.Builder,,ListSpacesResponse> RepostspaceResponse.Builder,SdkBuilder<ListSpacesResponse.Builder,,ListSpacesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSpacesResponse
@Mutable
@NotThreadSafe
public static interface ListSpacesResponse.Builder
extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<ListSpacesResponse.Builder,ListSpacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token that you use when you request the next set of private re:Posts.spaces(Collection<SpaceData> spaces) An array of structures that contain some information about the private re:Posts in the account.spaces(Consumer<SpaceData.Builder>... spaces) An array of structures that contain some information about the private re:Posts in the account.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
copyMethods inherited from interface software.amazon.awssdk.services.repostspace.model.RepostspaceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 tospaces(List<SpaceData>).- 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:
-
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.
-