Interface ModifyAccountVpcEncryptionControlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyAccountVpcEncryptionControlRequest.Builder,,ModifyAccountVpcEncryptionControlRequest> Ec2Request.Builder,SdkBuilder<ModifyAccountVpcEncryptionControlRequest.Builder,,ModifyAccountVpcEncryptionControlRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyAccountVpcEncryptionControlRequest
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.egressOnlyInternetGateway(String egressOnlyInternetGateway) Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.egressOnlyInternetGateway(VpcEncryptionControlExclusionStateInput egressOnlyInternetGateway) Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.elasticFileSystem(String elasticFileSystem) Specifies whether to exclude Elastic File System service from account-level encryption enforcement.elasticFileSystem(VpcEncryptionControlExclusionStateInput elasticFileSystem) Specifies whether to exclude Elastic File System service from account-level encryption enforcement.internetGateway(String internetGateway) Specifies whether to exclude internet gateway resource from account-level encryption enforcement.internetGateway(VpcEncryptionControlExclusionStateInput internetGateway) Specifies whether to exclude internet gateway resource from account-level encryption enforcement.Specifies whether to exclude Lambda service from account-level encryption enforcement.Specifies whether to exclude Lambda service from account-level encryption enforcement.The encryption mode for the account encryption control configuration.The encryption mode for the account encryption control configuration.natGateway(String natGateway) Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.natGateway(VpcEncryptionControlExclusionStateInput natGateway) Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.virtualPrivateGateway(String virtualPrivateGateway) Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.virtualPrivateGateway(VpcEncryptionControlExclusionStateInput virtualPrivateGateway) Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.vpcLattice(String vpcLattice) Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.vpcLattice(VpcEncryptionControlExclusionStateInput vpcLattice) Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.vpcPeering(String vpcPeering) Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.vpcPeering(VpcEncryptionControlExclusionStateInput vpcPeering) Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The encryption mode for the account encryption control configuration.
- Parameters:
mode- The encryption mode for the account encryption control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The encryption mode for the account encryption control configuration.
- Parameters:
mode- The encryption mode for the account encryption control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
internetGateway
Specifies whether to exclude internet gateway resource from account-level encryption enforcement.
- Parameters:
internetGateway- Specifies whether to exclude internet gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
internetGateway
ModifyAccountVpcEncryptionControlRequest.Builder internetGateway(VpcEncryptionControlExclusionStateInput internetGateway) Specifies whether to exclude internet gateway resource from account-level encryption enforcement.
- Parameters:
internetGateway- Specifies whether to exclude internet gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
egressOnlyInternetGateway
ModifyAccountVpcEncryptionControlRequest.Builder egressOnlyInternetGateway(String egressOnlyInternetGateway) Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.
- Parameters:
egressOnlyInternetGateway- Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
egressOnlyInternetGateway
ModifyAccountVpcEncryptionControlRequest.Builder egressOnlyInternetGateway(VpcEncryptionControlExclusionStateInput egressOnlyInternetGateway) Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.
- Parameters:
egressOnlyInternetGateway- Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGateway
Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.
- Parameters:
natGateway- Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGateway
ModifyAccountVpcEncryptionControlRequest.Builder natGateway(VpcEncryptionControlExclusionStateInput natGateway) Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.
- Parameters:
natGateway- Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
virtualPrivateGateway
ModifyAccountVpcEncryptionControlRequest.Builder virtualPrivateGateway(String virtualPrivateGateway) Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.
- Parameters:
virtualPrivateGateway- Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
virtualPrivateGateway
ModifyAccountVpcEncryptionControlRequest.Builder virtualPrivateGateway(VpcEncryptionControlExclusionStateInput virtualPrivateGateway) Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.
- Parameters:
virtualPrivateGateway- Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcPeering
Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.
- Parameters:
vpcPeering- Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcPeering
ModifyAccountVpcEncryptionControlRequest.Builder vpcPeering(VpcEncryptionControlExclusionStateInput vpcPeering) Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.
- Parameters:
vpcPeering- Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambda
Specifies whether to exclude Lambda service from account-level encryption enforcement.
- Parameters:
lambda- Specifies whether to exclude Lambda service from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambda
ModifyAccountVpcEncryptionControlRequest.Builder lambda(VpcEncryptionControlExclusionStateInput lambda) Specifies whether to exclude Lambda service from account-level encryption enforcement.
- Parameters:
lambda- Specifies whether to exclude Lambda service from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcLattice
Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.
- Parameters:
vpcLattice- Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcLattice
ModifyAccountVpcEncryptionControlRequest.Builder vpcLattice(VpcEncryptionControlExclusionStateInput vpcLattice) Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.
- Parameters:
vpcLattice- Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elasticFileSystem
Specifies whether to exclude Elastic File System service from account-level encryption enforcement.
- Parameters:
elasticFileSystem- Specifies whether to exclude Elastic File System service from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elasticFileSystem
ModifyAccountVpcEncryptionControlRequest.Builder elasticFileSystem(VpcEncryptionControlExclusionStateInput elasticFileSystem) Specifies whether to exclude Elastic File System service from account-level encryption enforcement.
- Parameters:
elasticFileSystem- Specifies whether to exclude Elastic File System service from account-level encryption enforcement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ModifyAccountVpcEncryptionControlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyAccountVpcEncryptionControlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-