Interface FieldToProtect.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldToProtect.Builder,,FieldToProtect> SdkBuilder<FieldToProtect.Builder,,FieldToProtect> SdkPojo
- Enclosing class:
FieldToProtect
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the keys to protect for the specified field type.fieldKeys(Collection<String> fieldKeys) Specifies the keys to protect for the specified field type.Specifies the web request component type to protect.fieldType(FieldToProtectType fieldType) Specifies the web request component type to protect.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fieldType
Specifies the web request component type to protect.
- Parameters:
fieldType- Specifies the web request component type to protect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldType
Specifies the web request component type to protect.
- Parameters:
fieldType- Specifies the web request component type to protect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldKeys
Specifies the keys to protect for the specified field type.
Required for
SINGLE_HEADER,SINGLE_COOKIE, andSINGLE_QUERY_ARGUMENT: provide a non-empty array naming the specific headers, cookies, or query arguments to protect. There is no option to protect all keys of these field types, so enumerate each key you intend to protect.Must be omitted for
QUERY_STRINGandBODY: the entire component is protected and these field types take no keys. SupplyingFieldKeysfor them is rejected.- Parameters:
fieldKeys- Specifies the keys to protect for the specified field type.Required for
SINGLE_HEADER,SINGLE_COOKIE, andSINGLE_QUERY_ARGUMENT: provide a non-empty array naming the specific headers, cookies, or query arguments to protect. There is no option to protect all keys of these field types, so enumerate each key you intend to protect.Must be omitted for
QUERY_STRINGandBODY: the entire component is protected and these field types take no keys. SupplyingFieldKeysfor them is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldKeys
Specifies the keys to protect for the specified field type.
Required for
SINGLE_HEADER,SINGLE_COOKIE, andSINGLE_QUERY_ARGUMENT: provide a non-empty array naming the specific headers, cookies, or query arguments to protect. There is no option to protect all keys of these field types, so enumerate each key you intend to protect.Must be omitted for
QUERY_STRINGandBODY: the entire component is protected and these field types take no keys. SupplyingFieldKeysfor them is rejected.- Parameters:
fieldKeys- Specifies the keys to protect for the specified field type.Required for
SINGLE_HEADER,SINGLE_COOKIE, andSINGLE_QUERY_ARGUMENT: provide a non-empty array naming the specific headers, cookies, or query arguments to protect. There is no option to protect all keys of these field types, so enumerate each key you intend to protect.Must be omitted for
QUERY_STRINGandBODY: the entire component is protected and these field types take no keys. SupplyingFieldKeysfor them is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-