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.BuilderreturnValue(Boolean returnValue)Returnstrueif the request succeeds; otherwise, returns an error.AuthorizeSecurityGroupIngressResponse.BuildersecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)Information about the inbound (ingress) security group rules that were added.AuthorizeSecurityGroupIngressResponse.BuildersecurityGroupRules(Consumer<SecurityGroupRule.Builder>... securityGroupRules)Information about the inbound (ingress) security group rules that were added.AuthorizeSecurityGroupIngressResponse.BuildersecurityGroupRules(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
returnValue
AuthorizeSecurityGroupIngressResponse.Builder returnValue(Boolean 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
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.Builderavoiding the need to create one manually viaSecurityGroupRule.builder().When the
Consumercompletes,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)
-
-