public class ValidateSecurityProfileBehaviorsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ValidateSecurityProfileBehaviorsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getValid()
True if the behaviors were valid.
|
java.util.List<ValidationError> |
getValidationErrors()
The list of any errors found in the behaviors.
|
int |
hashCode() |
java.lang.Boolean |
isValid()
True if the behaviors were valid.
|
void |
setValid(java.lang.Boolean valid)
True if the behaviors were valid.
|
void |
setValidationErrors(java.util.Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidateSecurityProfileBehaviorsResult |
withValid(java.lang.Boolean valid)
True if the behaviors were valid.
|
ValidateSecurityProfileBehaviorsResult |
withValidationErrors(java.util.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.
|
public ValidateSecurityProfileBehaviorsResult()
public java.lang.Boolean isValid()
True if the behaviors were valid.
True if the behaviors were valid.
public java.lang.Boolean getValid()
True if the behaviors were valid.
True if the behaviors were valid.
public void setValid(java.lang.Boolean valid)
True if the behaviors were valid.
valid
- True if the behaviors were valid.
public ValidateSecurityProfileBehaviorsResult withValid(java.lang.Boolean valid)
True if the behaviors were valid.
Returns a reference to this object so that method calls can be chained together.
valid
- True if the behaviors were valid.
public java.util.List<ValidationError> getValidationErrors()
The list of any errors found in the behaviors.
The list of any errors found in the behaviors.
public void setValidationErrors(java.util.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.
Returns a reference to this object so that method calls can be chained together.
validationErrors
- The list of any errors found in the behaviors.
public ValidateSecurityProfileBehaviorsResult withValidationErrors(java.util.Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
Returns a reference to this object so that method calls can be chained together.
validationErrors
- The list of any errors found in the behaviors.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.