Interface ValidationMessage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationMessage.Builder,ValidationMessage>,SdkBuilder<ValidationMessage.Builder,ValidationMessage>,SdkPojo
- Enclosing class:
- ValidationMessage
public static interface ValidationMessage.Builder extends SdkPojo, CopyableBuilder<ValidationMessage.Builder,ValidationMessage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationMessage.Buildermessage(String message)A message describing the error or warning.ValidationMessage.Buildernamespace(String namespace)The namespace to which the option belongs.ValidationMessage.BuilderoptionName(String optionName)The name of the option.ValidationMessage.Builderseverity(String severity)An indication of the severity of this message:ValidationMessage.Builderseverity(ValidationSeverity severity)An indication of the severity of this message:-
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
-
message
ValidationMessage.Builder message(String message)
A message describing the error or warning.
- Parameters:
message- A message describing the error or warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
ValidationMessage.Builder severity(String severity)
An indication of the severity of this message:
-
error: This message indicates that this is not a valid setting for an option. -
warning: This message is providing information you should take into account.
- Parameters:
severity- An indication of the severity of this message:-
error: This message indicates that this is not a valid setting for an option. -
warning: This message is providing information you should take into account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidationSeverity,ValidationSeverity
-
-
severity
ValidationMessage.Builder severity(ValidationSeverity severity)
An indication of the severity of this message:
-
error: This message indicates that this is not a valid setting for an option. -
warning: This message is providing information you should take into account.
- Parameters:
severity- An indication of the severity of this message:-
error: This message indicates that this is not a valid setting for an option. -
warning: This message is providing information you should take into account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidationSeverity,ValidationSeverity
-
-
namespace
ValidationMessage.Builder namespace(String namespace)
The namespace to which the option belongs.
- Parameters:
namespace- The namespace to which the option belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionName
ValidationMessage.Builder optionName(String optionName)
The name of the option.
- Parameters:
optionName- The name of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-