@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateSecurityProfileBehaviorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ValidateSecurityProfileBehaviorsResult() |
Modifier and Type | Method and Description |
---|---|
ValidateSecurityProfileBehaviorsResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getValid()
True if the behaviors were valid.
|
List<ValidationError> |
getValidationErrors()
The list of any errors found in the behaviors.
|
int |
hashCode() |
Boolean |
isValid()
True if the behaviors were valid.
|
void |
setValid(Boolean valid)
True if the behaviors were valid.
|
void |
setValidationErrors(Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
|
String |
toString()
Returns a string representation of this object.
|
ValidateSecurityProfileBehaviorsResult |
withValid(Boolean valid)
True if the behaviors were valid.
|
ValidateSecurityProfileBehaviorsResult |
withValidationErrors(Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
|
ValidateSecurityProfileBehaviorsResult |
withValidationErrors(ValidationError... validationErrors)
The list of any errors found in the behaviors.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ValidateSecurityProfileBehaviorsResult()
public void setValid(Boolean valid)
True if the behaviors were valid.
valid
- True if the behaviors were valid.public Boolean getValid()
True if the behaviors were valid.
public ValidateSecurityProfileBehaviorsResult withValid(Boolean valid)
True if the behaviors were valid.
valid
- True if the behaviors were valid.public Boolean isValid()
True if the behaviors were valid.
public List<ValidationError> getValidationErrors()
The list of any errors found in the behaviors.
public void setValidationErrors(Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
validationErrors
- The list of any errors found in the behaviors.public ValidateSecurityProfileBehaviorsResult withValidationErrors(ValidationError... validationErrors)
The list of any errors found in the behaviors.
NOTE: This method appends the values to the existing list (if any). Use
setValidationErrors(java.util.Collection)
or withValidationErrors(java.util.Collection)
if you
want to override the existing values.
validationErrors
- The list of any errors found in the behaviors.public ValidateSecurityProfileBehaviorsResult withValidationErrors(Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
validationErrors
- The list of any errors found in the behaviors.public String toString()
toString
in class Object
Object.toString()
public ValidateSecurityProfileBehaviorsResult clone()