@Deprecated @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestRoleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
 The TestRoleResponse structure.
 
| Constructor and Description | 
|---|
| TestRoleResult()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| TestRoleResult | clone()Deprecated.  | 
| boolean | equals(Object obj)Deprecated.  | 
| List<String> | getMessages()Deprecated.  
 If the  Successelement containsfalse, this value is an array of one or more error
 messages that were generated during the test process. | 
| String | getSuccess()Deprecated.  
 If the operation is successful, this value is  true; otherwise, the value isfalse. | 
| int | hashCode()Deprecated.  | 
| void | setMessages(Collection<String> messages)Deprecated.  
 If the  Successelement containsfalse, this value is an array of one or more error
 messages that were generated during the test process. | 
| void | setSuccess(String success)Deprecated.  
 If the operation is successful, this value is  true; otherwise, the value isfalse. | 
| String | toString()Deprecated.  Returns a string representation of this object. | 
| TestRoleResult | withMessages(Collection<String> messages)Deprecated.  
 If the  Successelement containsfalse, this value is an array of one or more error
 messages that were generated during the test process. | 
| TestRoleResult | withMessages(String... messages)Deprecated.  
 If the  Successelement containsfalse, this value is an array of one or more error
 messages that were generated during the test process. | 
| TestRoleResult | withSuccess(String success)Deprecated.  
 If the operation is successful, this value is  true; otherwise, the value isfalse. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSuccess(String success)
 If the operation is successful, this value is true; otherwise, the value is false.
 
success - If the operation is successful, this value is true; otherwise, the value is
        false.public String getSuccess()
 If the operation is successful, this value is true; otherwise, the value is false.
 
true; otherwise, the value is
         false.public TestRoleResult withSuccess(String success)
 If the operation is successful, this value is true; otherwise, the value is false.
 
success - If the operation is successful, this value is true; otherwise, the value is
        false.public List<String> getMessages()
 If the Success element contains false, this value is an array of one or more error
 messages that were generated during the test process.
 
Success element contains false, this value is an array of one or more
         error messages that were generated during the test process.public void setMessages(Collection<String> messages)
 If the Success element contains false, this value is an array of one or more error
 messages that were generated during the test process.
 
messages - If the Success element contains false, this value is an array of one or more
        error messages that were generated during the test process.public TestRoleResult withMessages(String... messages)
 If the Success element contains false, this value is an array of one or more error
 messages that were generated during the test process.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setMessages(java.util.Collection) or withMessages(java.util.Collection) if you want to override
 the existing values.
 
messages - If the Success element contains false, this value is an array of one or more
        error messages that were generated during the test process.public TestRoleResult withMessages(Collection<String> messages)
 If the Success element contains false, this value is an array of one or more error
 messages that were generated during the test process.
 
messages - If the Success element contains false, this value is an array of one or more
        error messages that were generated during the test process.public String toString()
toString in class ObjectObject.toString()public TestRoleResult clone()
Copyright © 2022. All rights reserved.