Interface AssociateAwsAccountWithPartnerAccountRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateAwsAccountWithPartnerAccountRequest.Builder,
,AssociateAwsAccountWithPartnerAccountRequest> IotWirelessRequest.Builder
,SdkBuilder<AssociateAwsAccountWithPartnerAccountRequest.Builder,
,AssociateAwsAccountWithPartnerAccountRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateAwsAccountWithPartnerAccountRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Each resource must have a unique client request token.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sidewalk
(Consumer<SidewalkAccountInfo.Builder> sidewalk) The Sidewalk account credentials.sidewalk
(SidewalkAccountInfo sidewalk) The Sidewalk account credentials.tags
(Collection<Tag> tags) The tags to attach to the specified resource.tags
(Consumer<Tag.Builder>... tags) The tags to attach to the specified resource.The tags to attach to the specified resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessRequest.Builder
build
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
-
sidewalk
The Sidewalk account credentials.
- Parameters:
sidewalk
- The Sidewalk account credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sidewalk
default AssociateAwsAccountWithPartnerAccountRequest.Builder sidewalk(Consumer<SidewalkAccountInfo.Builder> sidewalk) The Sidewalk account credentials.
This is a convenience method that creates an instance of theSidewalkAccountInfo.Builder
avoiding the need to create one manually viaSidewalkAccountInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosidewalk(SidewalkAccountInfo)
.- Parameters:
sidewalk
- a consumer that will call methods onSidewalkAccountInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
- Parameters:
clientRequestToken
- Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
- Parameters:
tags
- The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
- Parameters:
tags
- The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
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
AssociateAwsAccountWithPartnerAccountRequest.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
AssociateAwsAccountWithPartnerAccountRequest.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.
-