Package com.pulumi.aws.vpc
Class SecurityGroupEgressRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.vpc.SecurityGroupEgressRuleArgs.Builder
-
- Enclosing class:
- SecurityGroupEgressRuleArgs
public static final class SecurityGroupEgressRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SecurityGroupEgressRuleArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroupEgressRuleArgs
build()
SecurityGroupEgressRuleArgs.Builder
cidrIpv4(com.pulumi.core.Output<java.lang.String> cidrIpv4)
SecurityGroupEgressRuleArgs.Builder
cidrIpv4(java.lang.String cidrIpv4)
SecurityGroupEgressRuleArgs.Builder
cidrIpv6(com.pulumi.core.Output<java.lang.String> cidrIpv6)
SecurityGroupEgressRuleArgs.Builder
cidrIpv6(java.lang.String cidrIpv6)
SecurityGroupEgressRuleArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
SecurityGroupEgressRuleArgs.Builder
description(java.lang.String description)
SecurityGroupEgressRuleArgs.Builder
fromPort(com.pulumi.core.Output<java.lang.Integer> fromPort)
SecurityGroupEgressRuleArgs.Builder
fromPort(java.lang.Integer fromPort)
SecurityGroupEgressRuleArgs.Builder
ipProtocol(com.pulumi.core.Output<java.lang.String> ipProtocol)
SecurityGroupEgressRuleArgs.Builder
ipProtocol(java.lang.String ipProtocol)
SecurityGroupEgressRuleArgs.Builder
prefixListId(com.pulumi.core.Output<java.lang.String> prefixListId)
SecurityGroupEgressRuleArgs.Builder
prefixListId(java.lang.String prefixListId)
SecurityGroupEgressRuleArgs.Builder
referencedSecurityGroupId(com.pulumi.core.Output<java.lang.String> referencedSecurityGroupId)
SecurityGroupEgressRuleArgs.Builder
referencedSecurityGroupId(java.lang.String referencedSecurityGroupId)
SecurityGroupEgressRuleArgs.Builder
securityGroupId(com.pulumi.core.Output<java.lang.String> securityGroupId)
SecurityGroupEgressRuleArgs.Builder
securityGroupId(java.lang.String securityGroupId)
SecurityGroupEgressRuleArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
SecurityGroupEgressRuleArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
SecurityGroupEgressRuleArgs.Builder
toPort(com.pulumi.core.Output<java.lang.Integer> toPort)
SecurityGroupEgressRuleArgs.Builder
toPort(java.lang.Integer toPort)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SecurityGroupEgressRuleArgs defaults)
-
-
Method Detail
-
cidrIpv4
public SecurityGroupEgressRuleArgs.Builder cidrIpv4(@Nullable com.pulumi.core.Output<java.lang.String> cidrIpv4)
- Parameters:
cidrIpv4
- The destination IPv4 CIDR range.- Returns:
- builder
-
cidrIpv4
public SecurityGroupEgressRuleArgs.Builder cidrIpv4(java.lang.String cidrIpv4)
- Parameters:
cidrIpv4
- The destination IPv4 CIDR range.- Returns:
- builder
-
cidrIpv6
public SecurityGroupEgressRuleArgs.Builder cidrIpv6(@Nullable com.pulumi.core.Output<java.lang.String> cidrIpv6)
- Parameters:
cidrIpv6
- The destination IPv6 CIDR range.- Returns:
- builder
-
cidrIpv6
public SecurityGroupEgressRuleArgs.Builder cidrIpv6(java.lang.String cidrIpv6)
- Parameters:
cidrIpv6
- The destination IPv6 CIDR range.- Returns:
- builder
-
description
public SecurityGroupEgressRuleArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- The security group rule description.- Returns:
- builder
-
description
public SecurityGroupEgressRuleArgs.Builder description(java.lang.String description)
- Parameters:
description
- The security group rule description.- Returns:
- builder
-
fromPort
public SecurityGroupEgressRuleArgs.Builder fromPort(@Nullable com.pulumi.core.Output<java.lang.Integer> fromPort)
- Parameters:
fromPort
- The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.- Returns:
- builder
-
fromPort
public SecurityGroupEgressRuleArgs.Builder fromPort(java.lang.Integer fromPort)
- Parameters:
fromPort
- The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.- Returns:
- builder
-
ipProtocol
public SecurityGroupEgressRuleArgs.Builder ipProtocol(com.pulumi.core.Output<java.lang.String> ipProtocol)
- Parameters:
ipProtocol
- The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ip_protocol` is set to `-1`, it translates to all protocols, all port ranges, and `from_port` and `to_port` values should not be defined.- Returns:
- builder
-
ipProtocol
public SecurityGroupEgressRuleArgs.Builder ipProtocol(java.lang.String ipProtocol)
- Parameters:
ipProtocol
- The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ip_protocol` is set to `-1`, it translates to all protocols, all port ranges, and `from_port` and `to_port` values should not be defined.- Returns:
- builder
-
prefixListId
public SecurityGroupEgressRuleArgs.Builder prefixListId(@Nullable com.pulumi.core.Output<java.lang.String> prefixListId)
- Parameters:
prefixListId
- The ID of the destination prefix list.- Returns:
- builder
-
prefixListId
public SecurityGroupEgressRuleArgs.Builder prefixListId(java.lang.String prefixListId)
- Parameters:
prefixListId
- The ID of the destination prefix list.- Returns:
- builder
-
referencedSecurityGroupId
public SecurityGroupEgressRuleArgs.Builder referencedSecurityGroupId(@Nullable com.pulumi.core.Output<java.lang.String> referencedSecurityGroupId)
- Parameters:
referencedSecurityGroupId
- The destination security group that is referenced in the rule.- Returns:
- builder
-
referencedSecurityGroupId
public SecurityGroupEgressRuleArgs.Builder referencedSecurityGroupId(java.lang.String referencedSecurityGroupId)
- Parameters:
referencedSecurityGroupId
- The destination security group that is referenced in the rule.- Returns:
- builder
-
securityGroupId
public SecurityGroupEgressRuleArgs.Builder securityGroupId(com.pulumi.core.Output<java.lang.String> securityGroupId)
- Parameters:
securityGroupId
- The ID of the security group.- Returns:
- builder
-
securityGroupId
public SecurityGroupEgressRuleArgs.Builder securityGroupId(java.lang.String securityGroupId)
- Parameters:
securityGroupId
- The ID of the security group.- Returns:
- builder
-
tags
public SecurityGroupEgressRuleArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public SecurityGroupEgressRuleArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
toPort
public SecurityGroupEgressRuleArgs.Builder toPort(@Nullable com.pulumi.core.Output<java.lang.Integer> toPort)
- Parameters:
toPort
- The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.- Returns:
- builder
-
toPort
public SecurityGroupEgressRuleArgs.Builder toPort(java.lang.Integer toPort)
- Parameters:
toPort
- The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.- Returns:
- builder
-
build
public SecurityGroupEgressRuleArgs build()
-
-