Interface AuthorizeSecurityGroupEgressResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<AuthorizeSecurityGroupEgressResponse.Builder,,- AuthorizeSecurityGroupEgressResponse> - Ec2Response.Builder,- SdkBuilder<AuthorizeSecurityGroupEgressResponse.Builder,,- AuthorizeSecurityGroupEgressResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- AuthorizeSecurityGroupEgressResponse
@Mutable
@NotThreadSafe
public static interface AuthorizeSecurityGroupEgressResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AuthorizeSecurityGroupEgressResponse.Builder,AuthorizeSecurityGroupEgressResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
returnValueReturns trueif the request succeeds; otherwise, returns an error.- Parameters:
- returnValue- Returns- trueif the request succeeds; otherwise, returns an error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
securityGroupRulesAuthorizeSecurityGroupEgressResponse.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.
 
- 
securityGroupRulesAuthorizeSecurityGroupEgressResponse.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.
 
- 
securityGroupRulesAuthorizeSecurityGroupEgressResponse.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 on- SecurityGroupRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-