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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RevokedSecurityGroupRule.BuildercidrIpv4(String cidrIpv4)The IPv4 CIDR of the traffic source.RevokedSecurityGroupRule.BuildercidrIpv6(String cidrIpv6)The IPv6 CIDR of the traffic source.RevokedSecurityGroupRule.Builderdescription(String description)A description of the revoked security group rule.RevokedSecurityGroupRule.BuilderfromPort(Integer fromPort)The 'from' port number of the security group rule.RevokedSecurityGroupRule.BuildergroupId(String groupId)A security group ID.RevokedSecurityGroupRule.BuilderipProtocol(String ipProtocol)The security group rule's protocol.RevokedSecurityGroupRule.BuilderisEgress(Boolean isEgress)Defines if a security group rule is an outbound rule.RevokedSecurityGroupRule.BuilderprefixListId(String prefixListId)The ID of a prefix list that's the traffic source.RevokedSecurityGroupRule.BuilderreferencedGroupId(String referencedGroupId)The ID of a referenced security group.RevokedSecurityGroupRule.BuildersecurityGroupRuleId(String securityGroupRuleId)A security group rule ID.RevokedSecurityGroupRule.BuildertoPort(Integer toPort)The 'to' port number 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
securityGroupRuleId
RevokedSecurityGroupRule.Builder securityGroupRuleId(String 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
RevokedSecurityGroupRule.Builder groupId(String 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
RevokedSecurityGroupRule.Builder isEgress(Boolean 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
RevokedSecurityGroupRule.Builder ipProtocol(String 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
RevokedSecurityGroupRule.Builder fromPort(Integer 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
RevokedSecurityGroupRule.Builder toPort(Integer 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
RevokedSecurityGroupRule.Builder cidrIpv4(String 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
RevokedSecurityGroupRule.Builder cidrIpv6(String 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
RevokedSecurityGroupRule.Builder prefixListId(String 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
RevokedSecurityGroupRule.Builder referencedGroupId(String 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
RevokedSecurityGroupRule.Builder description(String 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.
-
-