Interface AuthorizeSecurityGroupIngressResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AuthorizeSecurityGroupIngressResponse.Builder,AuthorizeSecurityGroupIngressResponse>
,Ec2Response.Builder
,SdkBuilder<AuthorizeSecurityGroupIngressResponse.Builder,AuthorizeSecurityGroupIngressResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- AuthorizeSecurityGroupIngressResponse
public static interface AuthorizeSecurityGroupIngressResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AuthorizeSecurityGroupIngressResponse.Builder,AuthorizeSecurityGroupIngressResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizeSecurityGroupIngressResponse.Builder
returnValue(Boolean returnValue)
Returnstrue
if the request succeeds; otherwise, returns an error.AuthorizeSecurityGroupIngressResponse.Builder
securityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the inbound (ingress) security group rules that were added.AuthorizeSecurityGroupIngressResponse.Builder
securityGroupRules(Consumer<SecurityGroupRule.Builder>... securityGroupRules)
Information about the inbound (ingress) security group rules that were added.AuthorizeSecurityGroupIngressResponse.Builder
securityGroupRules(SecurityGroupRule... securityGroupRules)
Information about the inbound (ingress) 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 Detail
-
returnValue
AuthorizeSecurityGroupIngressResponse.Builder returnValue(Boolean 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
AuthorizeSecurityGroupIngressResponse.Builder securityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the inbound (ingress) security group rules that were added.
- Parameters:
securityGroupRules
- Information about the inbound (ingress) security group rules that were added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRules
AuthorizeSecurityGroupIngressResponse.Builder securityGroupRules(SecurityGroupRule... securityGroupRules)
Information about the inbound (ingress) security group rules that were added.
- Parameters:
securityGroupRules
- Information about the inbound (ingress) security group rules that were added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRules
AuthorizeSecurityGroupIngressResponse.Builder securityGroupRules(Consumer<SecurityGroupRule.Builder>... securityGroupRules)
Information about the inbound (ingress) 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 to#securityGroupRules(List
.) - 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:
#securityGroupRules(java.util.Collection
)
-
-