Interface PutAggregationAuthorizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<PutAggregationAuthorizationRequest.Builder,
,PutAggregationAuthorizationRequest> SdkBuilder<PutAggregationAuthorizationRequest.Builder,
,PutAggregationAuthorizationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutAggregationAuthorizationRequest
public static interface PutAggregationAuthorizationRequest.Builder
extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutAggregationAuthorizationRequest.Builder,PutAggregationAuthorizationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizedAccountId
(String authorizedAccountId) The 12-digit account ID of the account authorized to aggregate data.authorizedAwsRegion
(String authorizedAwsRegion) The region authorized to collect aggregated data.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) An array of tag object.tags
(Consumer<Tag.Builder>... tags) An array of tag object.An array of tag object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
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, sdkFields
-
Method Details
-
authorizedAccountId
The 12-digit account ID of the account authorized to aggregate data.
- Parameters:
authorizedAccountId
- The 12-digit account ID of the account authorized to aggregate data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedAwsRegion
The region authorized to collect aggregated data.
- Parameters:
authorizedAwsRegion
- The region authorized to collect aggregated data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tag object.
- Parameters:
tags
- An array of tag object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tag object.
- Parameters:
tags
- An array of tag object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tag object.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutAggregationAuthorizationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutAggregationAuthorizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-