Interface RejectVpcEndpointConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RejectVpcEndpointConnectionsResponse.Builder,,RejectVpcEndpointConnectionsResponse> Ec2Response.Builder,SdkBuilder<RejectVpcEndpointConnectionsResponse.Builder,,RejectVpcEndpointConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RejectVpcEndpointConnectionsResponse
public static interface RejectVpcEndpointConnectionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RejectVpcEndpointConnectionsResponse.Builder,RejectVpcEndpointConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionunsuccessful(Collection<UnsuccessfulItem> unsuccessful) Information about the endpoints that were not rejected, if applicable.unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful) Information about the endpoints that were not rejected, if applicable.unsuccessful(UnsuccessfulItem... unsuccessful) Information about the endpoints that were not rejected, if applicable.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
unsuccessful
RejectVpcEndpointConnectionsResponse.Builder unsuccessful(Collection<UnsuccessfulItem> unsuccessful) Information about the endpoints that were not rejected, if applicable.
- Parameters:
unsuccessful- Information about the endpoints that were not rejected, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
Information about the endpoints that were not rejected, if applicable.
- Parameters:
unsuccessful- Information about the endpoints that were not rejected, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
RejectVpcEndpointConnectionsResponse.Builder unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful) Information about the endpoints that were not rejected, if applicable.
This is a convenience method that creates an instance of theUnsuccessfulItem.Builderavoiding the need to create one manually viaUnsuccessfulItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessful(List<UnsuccessfulItem>).- Parameters:
unsuccessful- a consumer that will call methods onUnsuccessfulItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-