Class ContentTypeProfile
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.ContentTypeProfile
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContentTypeProfile.Builder,ContentTypeProfile>
@Generated("software.amazon.awssdk:codegen") public final class ContentTypeProfile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContentTypeProfile.Builder,ContentTypeProfile>
A field-level encryption content type profile.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContentTypeProfile.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentTypeProfile.Builderbuilder()StringcontentType()The content type for a field-level encryption content type-profile mapping.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Formatformat()The format for a field-level encryption content type-profile mapping.StringformatAsString()The format for a field-level encryption content type-profile mapping.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprofileId()The profile ID for a field-level encryption content type-profile mapping.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ContentTypeProfile.Builder>serializableBuilderClass()ContentTypeProfile.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
format
public final Format format()
The format for a field-level encryption content type-profile mapping.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format for a field-level encryption content type-profile mapping.
- See Also:
Format
-
formatAsString
public final String formatAsString()
The format for a field-level encryption content type-profile mapping.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format for a field-level encryption content type-profile mapping.
- See Also:
Format
-
profileId
public final String profileId()
The profile ID for a field-level encryption content type-profile mapping.
- Returns:
- The profile ID for a field-level encryption content type-profile mapping.
-
contentType
public final String contentType()
The content type for a field-level encryption content type-profile mapping.
- Returns:
- The content type for a field-level encryption content type-profile mapping.
-
toBuilder
public ContentTypeProfile.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContentTypeProfile.Builder,ContentTypeProfile>
-
builder
public static ContentTypeProfile.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContentTypeProfile.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
-
-