CopyableBuilder<ValidationMessage.Builder,ValidationMessage>
, SdkBuilder<ValidationMessage.Builder,ValidationMessage>
public static interface ValidationMessage.Builder extends CopyableBuilder<ValidationMessage.Builder,ValidationMessage>
Modifier and Type | Method | Description |
---|---|---|
ValidationMessage.Builder |
message(String message) |
A message describing the error or warning.
|
ValidationMessage.Builder |
namespace(String namespace) |
The namespace to which the option belongs.
|
ValidationMessage.Builder |
optionName(String optionName) |
The name of the option.
|
ValidationMessage.Builder |
severity(String severity) |
An indication of the severity of this message:
|
ValidationMessage.Builder |
severity(ValidationSeverity severity) |
An indication of the severity of this message:
|
copy
apply, build
ValidationMessage.Builder message(String message)
A message describing the error or warning.
message
- A message describing the error or warning.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.
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.
ValidationSeverity
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.
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.
ValidationSeverity
ValidationMessage.Builder namespace(String namespace)
The namespace to which the option belongs.
namespace
- The namespace to which the option belongs.ValidationMessage.Builder optionName(String optionName)
The name of the option.
optionName
- The name of the option.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.