Interface SecurityGroupRuleUpdate.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SecurityGroupRuleUpdate.Builder,SecurityGroupRuleUpdate>
,SdkBuilder<SecurityGroupRuleUpdate.Builder,SecurityGroupRuleUpdate>
,SdkPojo
- Enclosing class:
- SecurityGroupRuleUpdate
public static interface SecurityGroupRuleUpdate.Builder extends SdkPojo, CopyableBuilder<SecurityGroupRuleUpdate.Builder,SecurityGroupRuleUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SecurityGroupRuleUpdate.Builder
securityGroupRule(Consumer<SecurityGroupRuleRequest.Builder> securityGroupRule)
Information about the security group rule.SecurityGroupRuleUpdate.Builder
securityGroupRule(SecurityGroupRuleRequest securityGroupRule)
Information about the security group rule.SecurityGroupRuleUpdate.Builder
securityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
securityGroupRuleId
SecurityGroupRuleUpdate.Builder securityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
- Parameters:
securityGroupRuleId
- The ID of the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRule
SecurityGroupRuleUpdate.Builder securityGroupRule(SecurityGroupRuleRequest securityGroupRule)
Information about the security group rule.
- Parameters:
securityGroupRule
- Information about the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupRule
default SecurityGroupRuleUpdate.Builder securityGroupRule(Consumer<SecurityGroupRuleRequest.Builder> securityGroupRule)
Information about the security group rule.
This is a convenience method that creates an instance of theSecurityGroupRuleRequest.Builder
avoiding the need to create one manually viaSecurityGroupRuleRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityGroupRule(SecurityGroupRuleRequest)
.- Parameters:
securityGroupRule
- a consumer that will call methods onSecurityGroupRuleRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
securityGroupRule(SecurityGroupRuleRequest)
-
-