Interface VpcBlockPublicAccessExclusion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcBlockPublicAccessExclusion.Builder,
,VpcBlockPublicAccessExclusion> SdkBuilder<VpcBlockPublicAccessExclusion.Builder,
,VpcBlockPublicAccessExclusion> SdkPojo
- Enclosing class:
VpcBlockPublicAccessExclusion
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) When the exclusion was created.deletionTimestamp
(Instant deletionTimestamp) When the exclusion was deleted.exclusionId
(String exclusionId) The ID of the exclusion.internetGatewayExclusionMode
(String internetGatewayExclusionMode) The exclusion mode for internet gateway traffic.internetGatewayExclusionMode
(InternetGatewayExclusionMode internetGatewayExclusionMode) The exclusion mode for internet gateway traffic.lastUpdateTimestamp
(Instant lastUpdateTimestamp) When the exclusion was last updated.The reason for the current exclusion state.resourceArn
(String resourceArn) The ARN of the exclusion.The state of the exclusion.The state of the exclusion.tags
(Collection<Tag> tags) tag
- The key/value combination of a tag assigned to the resource.tags
(Consumer<Tag.Builder>... tags) tag
- The key/value combination of a tag assigned to the resource.tag
- The key/value combination of a tag assigned to the resource.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 Details
-
exclusionId
The ID of the exclusion.
- Parameters:
exclusionId
- The ID of the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetGatewayExclusionMode
VpcBlockPublicAccessExclusion.Builder internetGatewayExclusionMode(String internetGatewayExclusionMode) The exclusion mode for internet gateway traffic.
-
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets. -
allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
- Parameters:
internetGatewayExclusionMode
- The exclusion mode for internet gateway traffic.-
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets. -
allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
internetGatewayExclusionMode
VpcBlockPublicAccessExclusion.Builder internetGatewayExclusionMode(InternetGatewayExclusionMode internetGatewayExclusionMode) The exclusion mode for internet gateway traffic.
-
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets. -
allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
- Parameters:
internetGatewayExclusionMode
- The exclusion mode for internet gateway traffic.-
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets. -
allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceArn
The ARN of the exclusion.
- Parameters:
resourceArn
- The ARN of the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the exclusion.
- Parameters:
state
- The state of the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the exclusion.
- Parameters:
state
- The state of the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason for the current exclusion state.
- Parameters:
reason
- The reason for the current exclusion state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
When the exclusion was created.
- Parameters:
creationTimestamp
- When the exclusion was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimestamp
When the exclusion was last updated.
- Parameters:
lastUpdateTimestamp
- When the exclusion was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionTimestamp
When the exclusion was deleted.
- Parameters:
deletionTimestamp
- When the exclusion was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Parameters:
tags
-tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Parameters:
tags
-tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-