Interface DescribeAddressesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAddressesResponse.Builder,,DescribeAddressesResponse> SdkBuilder<DescribeAddressesResponse.Builder,,DescribeAddressesResponse> SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
DescribeAddressesResponse
public static interface DescribeAddressesResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<DescribeAddressesResponse.Builder,DescribeAddressesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaddresses(Collection<Address> addresses) The Snow device shipping addresses that were created for this account.addresses(Consumer<Address.Builder>... addresses) The Snow device shipping addresses that were created for this account.The Snow device shipping addresses that were created for this account.HTTP requests are stateless.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
addresses
The Snow device shipping addresses that were created for this account.
- Parameters:
addresses- The Snow device shipping addresses that were created for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addresses
The Snow device shipping addresses that were created for this account.
- Parameters:
addresses- The Snow device shipping addresses that were created for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addresses
The Snow device shipping addresses that were created for this account.
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 toaddresses(List<Address>).- Parameters:
addresses- 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:
-
nextToken
HTTP requests are stateless. If you use the automatically generated
NextTokenvalue in your nextDescribeAddressescall, your list of returned addresses will start from this point in the array.- Parameters:
nextToken- HTTP requests are stateless. If you use the automatically generatedNextTokenvalue in your nextDescribeAddressescall, your list of returned addresses will start from this point in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-