Interface ContentTypeProfileConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContentTypeProfileConfig.Builder,
,ContentTypeProfileConfig> SdkBuilder<ContentTypeProfileConfig.Builder,
,ContentTypeProfileConfig> SdkPojo
- Enclosing class:
ContentTypeProfileConfig
public static interface ContentTypeProfileConfig.Builder
extends SdkPojo, CopyableBuilder<ContentTypeProfileConfig.Builder,ContentTypeProfileConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ContentTypeProfileConfig.Builder
contentTypeProfiles
(Consumer<ContentTypeProfiles.Builder> contentTypeProfiles) The configuration for a field-level encryption content type-profile.contentTypeProfiles
(ContentTypeProfiles contentTypeProfiles) The configuration for a field-level encryption content type-profile.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.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, sdkFields
-
Method Details
-
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
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.Builder
avoiding the need to create one manually viaContentTypeProfiles.builder()
.When the
Consumer
completes,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:
-