Interface ContentTypeProfileConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>,SdkBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>,SdkPojo
- Enclosing class:
- ContentTypeProfileConfig
@Mutable @NotThreadSafe public static interface ContentTypeProfileConfig.Builder extends SdkPojo, CopyableBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContentTypeProfileConfig.BuildercontentTypeProfiles(Consumer<ContentTypeProfiles.Builder> contentTypeProfiles)The configuration for a field-level encryption content type-profile.ContentTypeProfileConfig.BuildercontentTypeProfiles(ContentTypeProfiles contentTypeProfiles)The configuration for a field-level encryption content type-profile.ContentTypeProfileConfig.BuilderforwardWhenContentTypeIsUnknown(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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
forwardWhenContentTypeIsUnknown
ContentTypeProfileConfig.Builder forwardWhenContentTypeIsUnknown(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
contentTypeProfiles
ContentTypeProfileConfig.Builder contentTypeProfiles(ContentTypeProfiles contentTypeProfiles)
The configuration for a field-level encryption content type-profile.
- Parameters:
contentTypeProfiles- The configuration for a field-level encryption content type-profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentTypeProfiles
default ContentTypeProfileConfig.Builder contentTypeProfiles(Consumer<ContentTypeProfiles.Builder> contentTypeProfiles)
The configuration for a field-level encryption content type-profile.
This is a convenience method that creates an instance of theContentTypeProfiles.Builderavoiding the need to create one manually viaContentTypeProfiles.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontentTypeProfiles(ContentTypeProfiles).- Parameters:
contentTypeProfiles- a consumer that will call methods onContentTypeProfiles.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
contentTypeProfiles(ContentTypeProfiles)
-
-