Interface AuthorizeSecurityGroupEgressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AuthorizeSecurityGroupEgressResponse.Builder,,AuthorizeSecurityGroupEgressResponse> Ec2Response.Builder,SdkBuilder<AuthorizeSecurityGroupEgressResponse.Builder,,AuthorizeSecurityGroupEgressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AuthorizeSecurityGroupEgressResponse
public static interface AuthorizeSecurityGroupEgressResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AuthorizeSecurityGroupEgressResponse.Builder,AuthorizeSecurityGroupEgressResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreturnValue(Boolean returnValue) Returnstrueif the request succeeds; otherwise, returns an error.securityGroupRules(Collection<SecurityGroupRule> securityGroupRules) Information about the outbound (egress) security group rules that were added.securityGroupRules(Consumer<SecurityGroupRule.Builder>... securityGroupRules) Information about the outbound (egress) security group rules that were added.securityGroupRules(SecurityGroupRule... securityGroupRules) Information about the outbound (egress) security group rules that were added.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
-
returnValue
Returns
trueif the request succeeds; otherwise, returns an error.- Parameters:
returnValue- Returnstrueif the request succeeds; otherwise, returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRules
AuthorizeSecurityGroupEgressResponse.Builder securityGroupRules(Collection<SecurityGroupRule> securityGroupRules) Information about the outbound (egress) security group rules that were added.
- Parameters:
securityGroupRules- Information about the outbound (egress) security group rules that were added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRules
AuthorizeSecurityGroupEgressResponse.Builder securityGroupRules(SecurityGroupRule... securityGroupRules) Information about the outbound (egress) security group rules that were added.
- Parameters:
securityGroupRules- Information about the outbound (egress) security group rules that were added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRules
AuthorizeSecurityGroupEgressResponse.Builder securityGroupRules(Consumer<SecurityGroupRule.Builder>... securityGroupRules) Information about the outbound (egress) security group rules that were added.
This is a convenience method that creates an instance of theSecurityGroupRule.Builderavoiding the need to create one manually viaSecurityGroupRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityGroupRules(List<SecurityGroupRule>).- Parameters:
securityGroupRules- a consumer that will call methods onSecurityGroupRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-