Interface ModifyVpcEndpointServicePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyVpcEndpointServicePermissionsResponse.Builder,,ModifyVpcEndpointServicePermissionsResponse> Ec2Response.Builder,SdkBuilder<ModifyVpcEndpointServicePermissionsResponse.Builder,,ModifyVpcEndpointServicePermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyVpcEndpointServicePermissionsResponse
@Mutable
@NotThreadSafe
public static interface ModifyVpcEndpointServicePermissionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyVpcEndpointServicePermissionsResponse.Builder,ModifyVpcEndpointServicePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaddedPrincipals(Collection<AddedPrincipal> addedPrincipals) Information about the added principals.addedPrincipals(Consumer<AddedPrincipal.Builder>... addedPrincipals) Information about the added principals.addedPrincipals(AddedPrincipal... addedPrincipals) Information about the added principals.returnValue(Boolean returnValue) Returnstrueif the request succeeds; otherwise, it returns an error.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
-
addedPrincipals
ModifyVpcEndpointServicePermissionsResponse.Builder addedPrincipals(Collection<AddedPrincipal> addedPrincipals) Information about the added principals.
- Parameters:
addedPrincipals- Information about the added principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addedPrincipals
ModifyVpcEndpointServicePermissionsResponse.Builder addedPrincipals(AddedPrincipal... addedPrincipals) Information about the added principals.
- Parameters:
addedPrincipals- Information about the added principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addedPrincipals
ModifyVpcEndpointServicePermissionsResponse.Builder addedPrincipals(Consumer<AddedPrincipal.Builder>... addedPrincipals) Information about the added principals.
This is a convenience method that creates an instance of theAddedPrincipal.Builderavoiding the need to create one manually viaAddedPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddedPrincipals(List<AddedPrincipal>).- Parameters:
addedPrincipals- a consumer that will call methods onAddedPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnValue
Returns
trueif the request succeeds; otherwise, it returns an error.- Parameters:
returnValue- Returnstrueif the request succeeds; otherwise, it returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-