Interface ListAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>,SdkBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssociationsResponse
public static interface ListAssociationsResponse.Builder extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociationsResponse.Builderassociations(Collection<AssociationListing> associations)The resources associated with this channel configuration.ListAssociationsResponse.Builderassociations(Consumer<AssociationListing.Builder>... associations)The resources associated with this channel configuration.ListAssociationsResponse.Builderassociations(AssociationListing... associations)The resources associated with this channel configuration.ListAssociationsResponse.BuildernextToken(String nextToken)An optional token returned from a prior request.-
Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
associations
ListAssociationsResponse.Builder associations(Collection<AssociationListing> associations)
The resources associated with this channel configuration.
- Parameters:
associations- The resources associated with this channel configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
ListAssociationsResponse.Builder associations(AssociationListing... associations)
The resources associated with this channel configuration.
- Parameters:
associations- The resources associated with this channel configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
ListAssociationsResponse.Builder associations(Consumer<AssociationListing.Builder>... associations)
The resources associated with this channel configuration.
This is a convenience method that creates an instance of theAssociationListing.Builderavoiding the need to create one manually viaAssociationListing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associations(List.) - Parameters:
associations- a consumer that will call methods onAssociationListing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#associations(java.util.Collection)
-
nextToken
ListAssociationsResponse.Builder nextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
- Parameters:
nextToken- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-