Interface DeleteSecondaryNetworkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteSecondaryNetworkResponse.Builder,,DeleteSecondaryNetworkResponse> Ec2Response.Builder,SdkBuilder<DeleteSecondaryNetworkResponse.Builder,,DeleteSecondaryNetworkResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteSecondaryNetworkResponse
@Mutable
@NotThreadSafe
public static interface DeleteSecondaryNetworkResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeleteSecondaryNetworkResponse.Builder,DeleteSecondaryNetworkResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier to ensure the idempotency of the request.secondaryNetwork(Consumer<SecondaryNetwork.Builder> secondaryNetwork) Information about the secondary network.secondaryNetwork(SecondaryNetwork secondaryNetwork) Information about the secondary network.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
secondaryNetwork
Information about the secondary network.
- Parameters:
secondaryNetwork- Information about the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryNetwork
default DeleteSecondaryNetworkResponse.Builder secondaryNetwork(Consumer<SecondaryNetwork.Builder> secondaryNetwork) Information about the secondary network.
This is a convenience method that creates an instance of theSecondaryNetwork.Builderavoiding the need to create one manually viaSecondaryNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondaryNetwork(SecondaryNetwork).- Parameters:
secondaryNetwork- a consumer that will call methods onSecondaryNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-