Interface CreateVpcEndpointConnectionNotificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateVpcEndpointConnectionNotificationResponse.Builder,
,CreateVpcEndpointConnectionNotificationResponse> Ec2Response.Builder
,SdkBuilder<CreateVpcEndpointConnectionNotificationResponse.Builder,
,CreateVpcEndpointConnectionNotificationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateVpcEndpointConnectionNotificationResponse
public static interface CreateVpcEndpointConnectionNotificationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateVpcEndpointConnectionNotificationResponse.Builder,CreateVpcEndpointConnectionNotificationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.connectionNotification
(Consumer<ConnectionNotification.Builder> connectionNotification) Information about the notification.connectionNotification
(ConnectionNotification connectionNotification) Information about the notification.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connectionNotification
CreateVpcEndpointConnectionNotificationResponse.Builder connectionNotification(ConnectionNotification connectionNotification) Information about the notification.
- Parameters:
connectionNotification
- Information about the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionNotification
default CreateVpcEndpointConnectionNotificationResponse.Builder connectionNotification(Consumer<ConnectionNotification.Builder> connectionNotification) Information about the notification.
This is a convenience method that creates an instance of theConnectionNotification.Builder
avoiding the need to create one manually viaConnectionNotification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionNotification(ConnectionNotification)
.- Parameters:
connectionNotification
- a consumer that will call methods onConnectionNotification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-