Interface ListSourceAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSourceAssociationsResponse.Builder,,ListSourceAssociationsResponse> RamResponse.Builder,SdkBuilder<ListSourceAssociationsResponse.Builder,,ListSourceAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSourceAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListSourceAssociationsResponse.Builder
extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListSourceAssociationsResponse.Builder,ListSourceAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to retrieve the next page of results.sourceAssociations(Collection<AssociatedSource> sourceAssociations) Information about the source associations.sourceAssociations(Consumer<AssociatedSource.Builder>... sourceAssociations) Information about the source associations.sourceAssociations(AssociatedSource... sourceAssociations) Information about the source associations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.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
-
sourceAssociations
ListSourceAssociationsResponse.Builder sourceAssociations(Collection<AssociatedSource> sourceAssociations) Information about the source associations.
- Parameters:
sourceAssociations- Information about the source associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAssociations
Information about the source associations.
- Parameters:
sourceAssociations- Information about the source associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAssociations
ListSourceAssociationsResponse.Builder sourceAssociations(Consumer<AssociatedSource.Builder>... sourceAssociations) Information about the source associations.
This is a convenience method that creates an instance of theAssociatedSource.Builderavoiding the need to create one manually viaAssociatedSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceAssociations(List<AssociatedSource>).- Parameters:
sourceAssociations- a consumer that will call methods onAssociatedSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The pagination token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-