Interface AcceptVpcEndpointConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AcceptVpcEndpointConnectionsResponse.Builder,,AcceptVpcEndpointConnectionsResponse> Ec2Response.Builder,SdkBuilder<AcceptVpcEndpointConnectionsResponse.Builder,,AcceptVpcEndpointConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AcceptVpcEndpointConnectionsResponse
public static interface AcceptVpcEndpointConnectionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AcceptVpcEndpointConnectionsResponse.Builder,AcceptVpcEndpointConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionunsuccessful(Collection<UnsuccessfulItem> unsuccessful) Information about the interface endpoints that were not accepted, if applicable.unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful) Information about the interface endpoints that were not accepted, if applicable.unsuccessful(UnsuccessfulItem... unsuccessful) Information about the interface endpoints that were not accepted, 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
AcceptVpcEndpointConnectionsResponse.Builder unsuccessful(Collection<UnsuccessfulItem> unsuccessful) Information about the interface endpoints that were not accepted, if applicable.
- Parameters:
unsuccessful- Information about the interface endpoints that were not accepted, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
Information about the interface endpoints that were not accepted, if applicable.
- Parameters:
unsuccessful- Information about the interface endpoints that were not accepted, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
AcceptVpcEndpointConnectionsResponse.Builder unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful) Information about the interface endpoints that were not accepted, 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:
-