Package com.pulumi.aws.ec2.inputs
Class VpcBlockPublicAccessExclusionState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.VpcBlockPublicAccessExclusionState.Builder
-
- Enclosing class:
- VpcBlockPublicAccessExclusionState
public static final class VpcBlockPublicAccessExclusionState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VpcBlockPublicAccessExclusionState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VpcBlockPublicAccessExclusionState defaults)
-
-
Method Detail
-
internetGatewayExclusionMode
public VpcBlockPublicAccessExclusionState.Builder internetGatewayExclusionMode(@Nullable com.pulumi.core.Output<java.lang.String> internetGatewayExclusionMode)
- Parameters:
internetGatewayExclusionMode- Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. The following arguments are optional:- Returns:
- builder
-
internetGatewayExclusionMode
public VpcBlockPublicAccessExclusionState.Builder internetGatewayExclusionMode(java.lang.String internetGatewayExclusionMode)
- Parameters:
internetGatewayExclusionMode- Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. The following arguments are optional:- Returns:
- builder
-
region
public VpcBlockPublicAccessExclusionState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public VpcBlockPublicAccessExclusionState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
resourceArn
public VpcBlockPublicAccessExclusionState.Builder resourceArn(@Nullable com.pulumi.core.Output<java.lang.String> resourceArn)
- Parameters:
resourceArn- ARN the excluded resource.- Returns:
- builder
-
resourceArn
public VpcBlockPublicAccessExclusionState.Builder resourceArn(java.lang.String resourceArn)
- Parameters:
resourceArn- ARN the excluded resource.- Returns:
- builder
-
subnetId
public VpcBlockPublicAccessExclusionState.Builder subnetId(@Nullable com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId- ID of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided.- Returns:
- builder
-
subnetId
public VpcBlockPublicAccessExclusionState.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId- ID of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided.- Returns:
- builder
-
tags
public VpcBlockPublicAccessExclusionState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the exclusion. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public VpcBlockPublicAccessExclusionState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the exclusion. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public VpcBlockPublicAccessExclusionState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public VpcBlockPublicAccessExclusionState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
timeouts
public VpcBlockPublicAccessExclusionState.Builder timeouts(@Nullable com.pulumi.core.Output<VpcBlockPublicAccessExclusionTimeoutsArgs> timeouts)
-
timeouts
public VpcBlockPublicAccessExclusionState.Builder timeouts(VpcBlockPublicAccessExclusionTimeoutsArgs timeouts)
-
vpcId
public VpcBlockPublicAccessExclusionState.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId- ID of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided.- Returns:
- builder
-
vpcId
public VpcBlockPublicAccessExclusionState.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId- ID of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided.- Returns:
- builder
-
build
public VpcBlockPublicAccessExclusionState build()
-
-