Interface ListSourceAssociationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSourceAssociationsRequest.Builder,,ListSourceAssociationsRequest> RamRequest.Builder,SdkBuilder<ListSourceAssociationsRequest.Builder,,ListSourceAssociationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListSourceAssociationsRequest
@Mutable
@NotThreadSafe
public static interface ListSourceAssociationsRequest.Builder
extends RamRequest.Builder, SdkPojo, CopyableBuilder<ListSourceAssociationsRequest.Builder,ListSourceAssociationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociationStatus(String associationStatus) The status of the source associations that you want to retrieve.associationStatus(ResourceShareAssociationStatus associationStatus) The status of the source associations that you want to retrieve.maxResults(Integer maxResults) The maximum number of results to return in a single call.The pagination token that indicates the next set of results to retrieve.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceShareArns(String... resourceShareArns) The Amazon Resource Names (ARNs) of the resource shares for which you want to retrieve source associations.resourceShareArns(Collection<String> resourceShareArns) The Amazon Resource Names (ARNs) of the resource shares for which you want to retrieve source associations.The identifier of the source for which you want to retrieve associations.sourceType(String sourceType) The type of source for which you want to retrieve associations.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ram.model.RamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceId
The identifier of the source for which you want to retrieve associations. This can be an account ID, Amazon Resource Name (ARN), organization ID, or organization path.
- Parameters:
sourceId- The identifier of the source for which you want to retrieve associations. This can be an account ID, Amazon Resource Name (ARN), organization ID, or organization path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The type of source for which you want to retrieve associations.
- Parameters:
sourceType- The type of source for which you want to retrieve associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationStatus
The status of the source associations that you want to retrieve.
- Parameters:
associationStatus- The status of the source associations that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSourceAssociationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListSourceAssociationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.