Interface CreateAddressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAddressRequest.Builder,,CreateAddressRequest> SdkBuilder<CreateAddressRequest.Builder,,CreateAddressRequest> SdkPojo,SdkRequest.Builder,SnowballRequest.Builder
- Enclosing class:
CreateAddressRequest
public static interface CreateAddressRequest.Builder
extends SnowballRequest.Builder, SdkPojo, CopyableBuilder<CreateAddressRequest.Builder,CreateAddressRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAddressRequest.Builderaddress(Consumer<Address.Builder> address) The address that you want the Snow device shipped to.The address that you want the Snow device shipped to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballRequest.Builder
build
-
Method Details
-
address
The address that you want the Snow device shipped to.
- Parameters:
address- The address that you want the Snow device shipped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The address that you want the Snow device shipped to.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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
CreateAddressRequest.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
CreateAddressRequest.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.
-