Interface UpdateSiteAddressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSiteAddressRequest.Builder,
,UpdateSiteAddressRequest> OutpostsRequest.Builder
,SdkBuilder<UpdateSiteAddressRequest.Builder,
,UpdateSiteAddressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSiteAddressRequest
public static interface UpdateSiteAddressRequest.Builder
extends OutpostsRequest.Builder, SdkPojo, CopyableBuilder<UpdateSiteAddressRequest.Builder,UpdateSiteAddressRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSiteAddressRequest.Builder
address
(Consumer<Address.Builder> address) The address for the site.The address for the site.addressType
(String addressType) The type of the address.addressType
(AddressType addressType) The type of the address.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID or the Amazon Resource Name (ARN) of the site.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.outposts.model.OutpostsRequest.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
-
siteId
The ID or the Amazon Resource Name (ARN) of the site.
- Parameters:
siteId
- The ID or the Amazon Resource Name (ARN) of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressType
The type of the address.
- Parameters:
addressType
- The type of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressType
The type of the address.
- Parameters:
addressType
- The type of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
address
The address for the site.
- Parameters:
address
- The address for the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The address for the site.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddress(Address)
.- Parameters:
address
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSiteAddressRequest.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
UpdateSiteAddressRequest.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.
-