Class ModifyVpcEncryptionControlRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ec2.model.Ec2Request
-
- software.amazon.awssdk.services.ec2.model.ModifyVpcEncryptionControlRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyVpcEncryptionControlRequest.Builder,ModifyVpcEncryptionControlRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyVpcEncryptionControlRequest extends Ec2Request implements ToCopyableBuilder<ModifyVpcEncryptionControlRequest.Builder,ModifyVpcEncryptionControlRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModifyVpcEncryptionControlRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifyVpcEncryptionControlRequest.Builderbuilder()BooleandryRun()Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.VpcEncryptionControlExclusionStateInputegressOnlyInternetGatewayExclusion()Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.StringegressOnlyInternetGatewayExclusionAsString()Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.VpcEncryptionControlExclusionStateInputelasticFileSystemExclusion()Specifies whether to exclude Elastic File System traffic from encryption enforcement.StringelasticFileSystemExclusionAsString()Specifies whether to exclude Elastic File System traffic from encryption enforcement.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()VpcEncryptionControlExclusionStateInputinternetGatewayExclusion()Specifies whether to exclude internet gateway traffic from encryption enforcement.StringinternetGatewayExclusionAsString()Specifies whether to exclude internet gateway traffic from encryption enforcement.VpcEncryptionControlExclusionStateInputlambdaExclusion()Specifies whether to exclude Lambda function traffic from encryption enforcement.StringlambdaExclusionAsString()Specifies whether to exclude Lambda function traffic from encryption enforcement.VpcEncryptionControlModemode()The encryption mode for the VPC Encryption Control configuration.StringmodeAsString()The encryption mode for the VPC Encryption Control configuration.VpcEncryptionControlExclusionStateInputnatGatewayExclusion()Specifies whether to exclude NAT gateway traffic from encryption enforcement.StringnatGatewayExclusionAsString()Specifies whether to exclude NAT gateway traffic from encryption enforcement.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModifyVpcEncryptionControlRequest.Builder>serializableBuilderClass()ModifyVpcEncryptionControlRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.VpcEncryptionControlExclusionStateInputvirtualPrivateGatewayExclusion()Specifies whether to exclude virtual private gateway traffic from encryption enforcement.StringvirtualPrivateGatewayExclusionAsString()Specifies whether to exclude virtual private gateway traffic from encryption enforcement.StringvpcEncryptionControlId()The ID of the VPC Encryption Control resource to modify.VpcEncryptionControlExclusionStateInputvpcLatticeExclusion()Specifies whether to exclude VPC Lattice traffic from encryption enforcement.StringvpcLatticeExclusionAsString()Specifies whether to exclude VPC Lattice traffic from encryption enforcement.VpcEncryptionControlExclusionStateInputvpcPeeringExclusion()Specifies whether to exclude VPC peering connection traffic from encryption enforcement.StringvpcPeeringExclusionAsString()Specifies whether to exclude VPC peering connection traffic from encryption enforcement.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dryRun
public final Boolean 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.- Returns:
- 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.
-
vpcEncryptionControlId
public final String vpcEncryptionControlId()
The ID of the VPC Encryption Control resource to modify.
- Returns:
- The ID of the VPC Encryption Control resource to modify.
-
mode
public final VpcEncryptionControlMode mode()
The encryption mode for the VPC Encryption Control configuration.
If the service returns an enum value that is not available in the current SDK version,
modewill returnVpcEncryptionControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The encryption mode for the VPC Encryption Control configuration.
- See Also:
VpcEncryptionControlMode
-
modeAsString
public final String modeAsString()
The encryption mode for the VPC Encryption Control configuration.
If the service returns an enum value that is not available in the current SDK version,
modewill returnVpcEncryptionControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The encryption mode for the VPC Encryption Control configuration.
- See Also:
VpcEncryptionControlMode
-
internetGatewayExclusion
public final VpcEncryptionControlExclusionStateInput internetGatewayExclusion()
Specifies whether to exclude internet gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
internetGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominternetGatewayExclusionAsString().- Returns:
- Specifies whether to exclude internet gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
internetGatewayExclusionAsString
public final String internetGatewayExclusionAsString()
Specifies whether to exclude internet gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
internetGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominternetGatewayExclusionAsString().- Returns:
- Specifies whether to exclude internet gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
egressOnlyInternetGatewayExclusion
public final VpcEncryptionControlExclusionStateInput egressOnlyInternetGatewayExclusion()
Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
egressOnlyInternetGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromegressOnlyInternetGatewayExclusionAsString().- Returns:
- Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
egressOnlyInternetGatewayExclusionAsString
public final String egressOnlyInternetGatewayExclusionAsString()
Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
egressOnlyInternetGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromegressOnlyInternetGatewayExclusionAsString().- Returns:
- Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
natGatewayExclusion
public final VpcEncryptionControlExclusionStateInput natGatewayExclusion()
Specifies whether to exclude NAT gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
natGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnatGatewayExclusionAsString().- Returns:
- Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
natGatewayExclusionAsString
public final String natGatewayExclusionAsString()
Specifies whether to exclude NAT gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
natGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnatGatewayExclusionAsString().- Returns:
- Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
virtualPrivateGatewayExclusion
public final VpcEncryptionControlExclusionStateInput virtualPrivateGatewayExclusion()
Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
virtualPrivateGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvirtualPrivateGatewayExclusionAsString().- Returns:
- Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
virtualPrivateGatewayExclusionAsString
public final String virtualPrivateGatewayExclusionAsString()
Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
virtualPrivateGatewayExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvirtualPrivateGatewayExclusionAsString().- Returns:
- Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
vpcPeeringExclusion
public final VpcEncryptionControlExclusionStateInput vpcPeeringExclusion()
Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
vpcPeeringExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcPeeringExclusionAsString().- Returns:
- Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
vpcPeeringExclusionAsString
public final String vpcPeeringExclusionAsString()
Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
vpcPeeringExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcPeeringExclusionAsString().- Returns:
- Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
lambdaExclusion
public final VpcEncryptionControlExclusionStateInput lambdaExclusion()
Specifies whether to exclude Lambda function traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
lambdaExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaExclusionAsString().- Returns:
- Specifies whether to exclude Lambda function traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
lambdaExclusionAsString
public final String lambdaExclusionAsString()
Specifies whether to exclude Lambda function traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
lambdaExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaExclusionAsString().- Returns:
- Specifies whether to exclude Lambda function traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
vpcLatticeExclusion
public final VpcEncryptionControlExclusionStateInput vpcLatticeExclusion()
Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
vpcLatticeExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcLatticeExclusionAsString().- Returns:
- Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
vpcLatticeExclusionAsString
public final String vpcLatticeExclusionAsString()
Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
vpcLatticeExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcLatticeExclusionAsString().- Returns:
- Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
elasticFileSystemExclusion
public final VpcEncryptionControlExclusionStateInput elasticFileSystemExclusion()
Specifies whether to exclude Elastic File System traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
elasticFileSystemExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromelasticFileSystemExclusionAsString().- Returns:
- Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
elasticFileSystemExclusionAsString
public final String elasticFileSystemExclusionAsString()
Specifies whether to exclude Elastic File System traffic from encryption enforcement.
If the service returns an enum value that is not available in the current SDK version,
elasticFileSystemExclusionwill returnVpcEncryptionControlExclusionStateInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromelasticFileSystemExclusionAsString().- Returns:
- Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- See Also:
VpcEncryptionControlExclusionStateInput
-
toBuilder
public ModifyVpcEncryptionControlRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyVpcEncryptionControlRequest.Builder,ModifyVpcEncryptionControlRequest>- Specified by:
toBuilderin classEc2Request
-
builder
public static ModifyVpcEncryptionControlRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyVpcEncryptionControlRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-