Class VpcEncryptionControlConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.VpcEncryptionControlConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VpcEncryptionControlConfiguration.Builder,VpcEncryptionControlConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class VpcEncryptionControlConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcEncryptionControlConfiguration.Builder,VpcEncryptionControlConfiguration>
Describes the configuration settings for VPC Encryption Control.
For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVpcEncryptionControlConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpcEncryptionControlConfiguration.Builderbuilder()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 VpcEncryptionControlConfiguration.Builder>serializableBuilderClass()VpcEncryptionControlConfiguration.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.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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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 VpcEncryptionControlConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VpcEncryptionControlConfiguration.Builder,VpcEncryptionControlConfiguration>
-
builder
public static VpcEncryptionControlConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends VpcEncryptionControlConfiguration.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-