Interface AmazonMachineImageSecurityGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AmazonMachineImageSecurityGroup.Builder,,AmazonMachineImageSecurityGroup> SdkBuilder<AmazonMachineImageSecurityGroup.Builder,,AmazonMachineImageSecurityGroup> SdkPojo
- Enclosing class:
AmazonMachineImageSecurityGroup
@Mutable
@NotThreadSafe
public static interface AmazonMachineImageSecurityGroup.Builder
extends SdkPojo, CopyableBuilder<AmazonMachineImageSecurityGroup.Builder,AmazonMachineImageSecurityGroup>
-
Method Summary
Modifier and TypeMethodDescriptioncidrIpAddresses(String... cidrIpAddresses) The IP address ranges in CIDR format.cidrIpAddresses(Collection<String> cidrIpAddresses) The IP address ranges in CIDR format.The start of the port range.The IP protocol name, such astcp.The end of the port range.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
-
protocol
The IP protocol name, such as
tcp.- Parameters:
protocol- The IP protocol name, such astcp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPort
The start of the port range.
- Parameters:
fromPort- The start of the port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
The end of the port range.
- Parameters:
toPort- The end of the port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrIpAddresses
The IP address ranges in CIDR format.
- Parameters:
cidrIpAddresses- The IP address ranges in CIDR format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrIpAddresses
The IP address ranges in CIDR format.
- Parameters:
cidrIpAddresses- The IP address ranges in CIDR format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-