@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationResult extends Object implements Serializable, Cloneable, StructuredPojo
The launch profile validation result.
Constructor and Description |
---|
ValidationResult() |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The current state.
|
String |
getStatusCode()
The status code.
|
String |
getStatusMessage()
The status message for the validation result.
|
String |
getType()
The type of the validation result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setState(String state)
The current state.
|
void |
setStatusCode(String statusCode)
The status code.
|
void |
setStatusMessage(String statusMessage)
The status message for the validation result.
|
void |
setType(String type)
The type of the validation result.
|
String |
toString()
Returns a string representation of this object.
|
ValidationResult |
withState(LaunchProfileValidationState state)
The current state.
|
ValidationResult |
withState(String state)
The current state.
|
ValidationResult |
withStatusCode(LaunchProfileValidationStatusCode statusCode)
The status code.
|
ValidationResult |
withStatusCode(String statusCode)
The status code.
|
ValidationResult |
withStatusMessage(String statusMessage)
The status message for the validation result.
|
ValidationResult |
withType(LaunchProfileValidationType type)
The type of the validation result.
|
ValidationResult |
withType(String type)
The type of the validation result.
|
public void setState(String state)
The current state.
state
- The current state.LaunchProfileValidationState
public String getState()
The current state.
LaunchProfileValidationState
public ValidationResult withState(String state)
The current state.
state
- The current state.LaunchProfileValidationState
public ValidationResult withState(LaunchProfileValidationState state)
The current state.
state
- The current state.LaunchProfileValidationState
public void setStatusCode(String statusCode)
The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.
statusCode
- The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.LaunchProfileValidationStatusCode
public String getStatusCode()
The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.
VALIDATION_FAILED
.LaunchProfileValidationStatusCode
public ValidationResult withStatusCode(String statusCode)
The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.
statusCode
- The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.LaunchProfileValidationStatusCode
public ValidationResult withStatusCode(LaunchProfileValidationStatusCode statusCode)
The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.
statusCode
- The status code. This will contain the failure reason if the state is VALIDATION_FAILED
.LaunchProfileValidationStatusCode
public void setStatusMessage(String statusMessage)
The status message for the validation result.
statusMessage
- The status message for the validation result.public String getStatusMessage()
The status message for the validation result.
public ValidationResult withStatusMessage(String statusMessage)
The status message for the validation result.
statusMessage
- The status message for the validation result.public void setType(String type)
The type of the validation result.
type
- The type of the validation result.LaunchProfileValidationType
public String getType()
The type of the validation result.
LaunchProfileValidationType
public ValidationResult withType(String type)
The type of the validation result.
type
- The type of the validation result.LaunchProfileValidationType
public ValidationResult withType(LaunchProfileValidationType type)
The type of the validation result.
type
- The type of the validation result.LaunchProfileValidationType
public String toString()
toString
in class Object
Object.toString()
public ValidationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.