@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentTypeProfileConfig extends Object implements Serializable, Cloneable
The configuration for a field-level encryption content type-profile mapping.
Constructor and Description |
---|
ContentTypeProfileConfig() |
Modifier and Type | Method and Description |
---|---|
ContentTypeProfileConfig |
clone() |
boolean |
equals(Object obj) |
ContentTypeProfiles |
getContentTypeProfiles()
The configuration for a field-level encryption content type-profile.
|
Boolean |
getForwardWhenContentTypeIsUnknown()
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.
|
int |
hashCode() |
Boolean |
isForwardWhenContentTypeIsUnknown()
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.
|
void |
setContentTypeProfiles(ContentTypeProfiles contentTypeProfiles)
The configuration for a field-level encryption content type-profile.
|
void |
setForwardWhenContentTypeIsUnknown(Boolean 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.
|
String |
toString()
Returns a string representation of this object.
|
ContentTypeProfileConfig |
withContentTypeProfiles(ContentTypeProfiles contentTypeProfiles)
The configuration for a field-level encryption content type-profile.
|
ContentTypeProfileConfig |
withForwardWhenContentTypeIsUnknown(Boolean 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.
|
public void setForwardWhenContentTypeIsUnknown(Boolean 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.
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.public Boolean getForwardWhenContentTypeIsUnknown()
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.
public ContentTypeProfileConfig withForwardWhenContentTypeIsUnknown(Boolean 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.
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.public Boolean isForwardWhenContentTypeIsUnknown()
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.
public void setContentTypeProfiles(ContentTypeProfiles contentTypeProfiles)
The configuration for a field-level encryption content type-profile.
contentTypeProfiles
- The configuration for a field-level encryption content type-profile.public ContentTypeProfiles getContentTypeProfiles()
The configuration for a field-level encryption content type-profile.
public ContentTypeProfileConfig withContentTypeProfiles(ContentTypeProfiles contentTypeProfiles)
The configuration for a field-level encryption content type-profile.
contentTypeProfiles
- The configuration for a field-level encryption content type-profile.public String toString()
toString
in class Object
Object.toString()
public ContentTypeProfileConfig clone()