Interface RevokedSecurityGroupRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RevokedSecurityGroupRule.Builder,,RevokedSecurityGroupRule> SdkBuilder<RevokedSecurityGroupRule.Builder,,RevokedSecurityGroupRule> SdkPojo
- Enclosing class:
RevokedSecurityGroupRule
@Mutable
@NotThreadSafe
public static interface RevokedSecurityGroupRule.Builder
extends SdkPojo, CopyableBuilder<RevokedSecurityGroupRule.Builder,RevokedSecurityGroupRule>
-
Method Summary
Modifier and TypeMethodDescriptionThe IPv4 CIDR of the traffic source.The IPv6 CIDR of the traffic source.description(String description) A description of the revoked security group rule.The 'from' port number of the security group rule.A security group ID.ipProtocol(String ipProtocol) The security group rule's protocol.Defines if a security group rule is an outbound rule.prefixListId(String prefixListId) The ID of a prefix list that's the traffic source.referencedGroupId(String referencedGroupId) The ID of a referenced security group.securityGroupRuleId(String securityGroupRuleId) A security group rule ID.The 'to' port number of the security group rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
securityGroupRuleId
A security group rule ID.
- Parameters:
securityGroupRuleId- A security group rule ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
A security group ID.
- Parameters:
groupId- A security group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEgress
Defines if a security group rule is an outbound rule.
- Parameters:
isEgress- Defines if a security group rule is an outbound rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipProtocol
The security group rule's protocol.
- Parameters:
ipProtocol- The security group rule's protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPort
The 'from' port number of the security group rule.
- Parameters:
fromPort- The 'from' port number of the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
The 'to' port number of the security group rule.
- Parameters:
toPort- The 'to' port number of the security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrIpv4
The IPv4 CIDR of the traffic source.
- Parameters:
cidrIpv4- The IPv4 CIDR of the traffic source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrIpv6
The IPv6 CIDR of the traffic source.
- Parameters:
cidrIpv6- The IPv6 CIDR of the traffic source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListId
The ID of a prefix list that's the traffic source.
- Parameters:
prefixListId- The ID of a prefix list that's the traffic source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencedGroupId
The ID of a referenced security group.
- Parameters:
referencedGroupId- The ID of a referenced security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the revoked security group rule.
- Parameters:
description- A description of the revoked security group rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-