Interface DeleteSecondarySubnetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteSecondarySubnetResponse.Builder,DeleteSecondarySubnetResponse>,Ec2Response.Builder,SdkBuilder<DeleteSecondarySubnetResponse.Builder,DeleteSecondarySubnetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteSecondarySubnetResponse
@Mutable @NotThreadSafe public static interface DeleteSecondarySubnetResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeleteSecondarySubnetResponse.Builder,DeleteSecondarySubnetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeleteSecondarySubnetResponse.BuilderclientToken(String clientToken)Unique, case-sensitive identifier to ensure the idempotency of the request.default DeleteSecondarySubnetResponse.BuildersecondarySubnet(Consumer<SecondarySubnet.Builder> secondarySubnet)Information about the secondary subnet being deleted.DeleteSecondarySubnetResponse.BuildersecondarySubnet(SecondarySubnet secondarySubnet)Information about the secondary subnet being deleted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
secondarySubnet
DeleteSecondarySubnetResponse.Builder secondarySubnet(SecondarySubnet secondarySubnet)
Information about the secondary subnet being deleted.
- Parameters:
secondarySubnet- Information about the secondary subnet being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySubnet
default DeleteSecondarySubnetResponse.Builder secondarySubnet(Consumer<SecondarySubnet.Builder> secondarySubnet)
Information about the secondary subnet being deleted.
This is a convenience method that creates an instance of theSecondarySubnet.Builderavoiding the need to create one manually viaSecondarySubnet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondarySubnet(SecondarySubnet).- Parameters:
secondarySubnet- a consumer that will call methods onSecondarySubnet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
secondarySubnet(SecondarySubnet)
-
clientToken
DeleteSecondarySubnetResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
- Parameters:
clientToken- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-