Interface DescribeAggregationAuthorizationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConfigResponse.Builder,CopyableBuilder<DescribeAggregationAuthorizationsResponse.Builder,,DescribeAggregationAuthorizationsResponse> SdkBuilder<DescribeAggregationAuthorizationsResponse.Builder,,DescribeAggregationAuthorizationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAggregationAuthorizationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeAggregationAuthorizationsResponse.Builder
extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<DescribeAggregationAuthorizationsResponse.Builder,DescribeAggregationAuthorizationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationAuthorizations(Collection<AggregationAuthorization> aggregationAuthorizations) Returns a list of authorizations granted to various aggregator accounts and regions.aggregationAuthorizations(Consumer<AggregationAuthorization.Builder>... aggregationAuthorizations) Returns a list of authorizations granted to various aggregator accounts and regions.aggregationAuthorizations(AggregationAuthorization... aggregationAuthorizations) Returns a list of authorizations granted to various aggregator accounts and regions.ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
aggregationAuthorizations
DescribeAggregationAuthorizationsResponse.Builder aggregationAuthorizations(Collection<AggregationAuthorization> aggregationAuthorizations) Returns a list of authorizations granted to various aggregator accounts and regions.
- Parameters:
aggregationAuthorizations- Returns a list of authorizations granted to various aggregator accounts and regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationAuthorizations
DescribeAggregationAuthorizationsResponse.Builder aggregationAuthorizations(AggregationAuthorization... aggregationAuthorizations) Returns a list of authorizations granted to various aggregator accounts and regions.
- Parameters:
aggregationAuthorizations- Returns a list of authorizations granted to various aggregator accounts and regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationAuthorizations
DescribeAggregationAuthorizationsResponse.Builder aggregationAuthorizations(Consumer<AggregationAuthorization.Builder>... aggregationAuthorizations) Returns a list of authorizations granted to various aggregator accounts and regions.
This is a convenience method that creates an instance of theAggregationAuthorization.Builderavoiding the need to create one manually viaAggregationAuthorization.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationAuthorizations(List<AggregationAuthorization>).- Parameters:
aggregationAuthorizations- a consumer that will call methods onAggregationAuthorization.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-