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) Returnstrue
if 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
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
returnValue
Returns
true
if the request succeeds; otherwise, returns an error.- Parameters:
returnValue
- Returnstrue
if 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.Builder
avoiding the need to create one manually viaSecurityGroupRule.builder()
.When the
Consumer
completes,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:
-