Interface CreateSecondarySubnetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSecondarySubnetResponse.Builder,CreateSecondarySubnetResponse>,Ec2Response.Builder,SdkBuilder<CreateSecondarySubnetResponse.Builder,CreateSecondarySubnetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSecondarySubnetResponse
@Mutable @NotThreadSafe public static interface CreateSecondarySubnetResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateSecondarySubnetResponse.Builder,CreateSecondarySubnetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSecondarySubnetResponse.BuilderclientToken(String clientToken)Unique, case-sensitive identifier to ensure the idempotency of the request.default CreateSecondarySubnetResponse.BuildersecondarySubnet(Consumer<SecondarySubnet.Builder> secondarySubnet)Information about the secondary subnet.CreateSecondarySubnetResponse.BuildersecondarySubnet(SecondarySubnet secondarySubnet)Information about the secondary subnet.-
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
CreateSecondarySubnetResponse.Builder secondarySubnet(SecondarySubnet secondarySubnet)
Information about the secondary subnet.
- Parameters:
secondarySubnet- Information about the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySubnet
default CreateSecondarySubnetResponse.Builder secondarySubnet(Consumer<SecondarySubnet.Builder> secondarySubnet)
Information about the secondary subnet.
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
CreateSecondarySubnetResponse.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.
-
-