public static interface AnalysisSecurityGroupRule.Builder extends SdkPojo, CopyableBuilder<AnalysisSecurityGroupRule.Builder,AnalysisSecurityGroupRule>
Modifier and Type | Method and Description |
---|---|
AnalysisSecurityGroupRule.Builder |
cidr(String cidr)
The IPv4 address range, in CIDR notation.
|
AnalysisSecurityGroupRule.Builder |
direction(String direction)
The direction.
|
default AnalysisSecurityGroupRule.Builder |
portRange(Consumer<PortRange.Builder> portRange)
The port range.
|
AnalysisSecurityGroupRule.Builder |
portRange(PortRange portRange)
The port range.
|
AnalysisSecurityGroupRule.Builder |
prefixListId(String prefixListId)
The prefix list ID.
|
AnalysisSecurityGroupRule.Builder |
protocol(String protocol)
The protocol name.
|
AnalysisSecurityGroupRule.Builder |
securityGroupId(String securityGroupId)
The security group ID.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AnalysisSecurityGroupRule.Builder cidr(String cidr)
The IPv4 address range, in CIDR notation.
cidr
- The IPv4 address range, in CIDR notation.AnalysisSecurityGroupRule.Builder direction(String direction)
The direction. The following are the possible values:
egress
ingress
direction
- The direction. The following are the possible values:
egress
ingress
AnalysisSecurityGroupRule.Builder securityGroupId(String securityGroupId)
The security group ID.
securityGroupId
- The security group ID.AnalysisSecurityGroupRule.Builder portRange(PortRange portRange)
The port range.
portRange
- The port range.default AnalysisSecurityGroupRule.Builder portRange(Consumer<PortRange.Builder> portRange)
The port range.
This is a convenience method that creates an instance of thePortRange.Builder
avoiding the need to
create one manually via PortRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to portRange(PortRange)
.
portRange
- a consumer that will call methods on PortRange.Builder
portRange(PortRange)
AnalysisSecurityGroupRule.Builder prefixListId(String prefixListId)
The prefix list ID.
prefixListId
- The prefix list ID.AnalysisSecurityGroupRule.Builder protocol(String protocol)
The protocol name.
protocol
- The protocol name.Copyright © 2023. All rights reserved.