Interface ValidationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationResult.Builder,ValidationResult>,SdkBuilder<ValidationResult.Builder,ValidationResult>,SdkPojo
- Enclosing class:
- ValidationResult
public static interface ValidationResult.Builder extends SdkPojo, CopyableBuilder<ValidationResult.Builder,ValidationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationResult.Builderstate(String state)The current state.ValidationResult.Builderstate(LaunchProfileValidationState state)The current state.ValidationResult.BuilderstatusCode(String statusCodeValue)The status code.ValidationResult.BuilderstatusCode(LaunchProfileValidationStatusCode statusCodeValue)The status code.ValidationResult.BuilderstatusMessage(String statusMessage)The status message for the validation result.ValidationResult.Buildertype(String type)The type of the validation result.ValidationResult.Buildertype(LaunchProfileValidationType type)The type of the validation result.-
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 Detail
-
state
ValidationResult.Builder state(String state)
The current state.
- Parameters:
state- The current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LaunchProfileValidationState,LaunchProfileValidationState
-
state
ValidationResult.Builder state(LaunchProfileValidationState state)
The current state.
- Parameters:
state- The current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LaunchProfileValidationState,LaunchProfileValidationState
-
statusCode
ValidationResult.Builder statusCode(String statusCodeValue)
The status code. This will contain the failure reason if the state is
VALIDATION_FAILED.- Parameters:
statusCodeValue- The status code. This will contain the failure reason if the state isVALIDATION_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LaunchProfileValidationStatusCode,LaunchProfileValidationStatusCode
-
statusCode
ValidationResult.Builder statusCode(LaunchProfileValidationStatusCode statusCodeValue)
The status code. This will contain the failure reason if the state is
VALIDATION_FAILED.- Parameters:
statusCodeValue- The status code. This will contain the failure reason if the state isVALIDATION_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LaunchProfileValidationStatusCode,LaunchProfileValidationStatusCode
-
statusMessage
ValidationResult.Builder statusMessage(String statusMessage)
The status message for the validation result.
- Parameters:
statusMessage- The status message for the validation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ValidationResult.Builder type(String type)
The type of the validation result.
- Parameters:
type- The type of the validation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LaunchProfileValidationType,LaunchProfileValidationType
-
type
ValidationResult.Builder type(LaunchProfileValidationType type)
The type of the validation result.
- Parameters:
type- The type of the validation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LaunchProfileValidationType,LaunchProfileValidationType
-
-