Class ContentTypeProfileConfig
java.lang.Object
software.amazon.awssdk.services.cloudfront.model.ContentTypeProfileConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>
@Generated("software.amazon.awssdk:codegen")
public final class ContentTypeProfileConfig
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>
The configuration for a field-level encryption content type-profile mapping.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final ContentTypeProfilesThe configuration for a field-level encryption content type-profile.final booleanfinal booleanequalsBySdkFields(Object obj) final BooleanThe setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ContentTypeProfileConfig.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
forwardWhenContentTypeIsUnknown
The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.
- Returns:
- The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.
-
contentTypeProfiles
The configuration for a field-level encryption content type-profile.
- Returns:
- The configuration for a field-level encryption content type-profile.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-