public class TestRoleResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The TestRoleResponse
structure.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.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. |
private java.lang.String |
success
If the operation is successful, this value is
true ;
otherwise, the value is false . |
Constructor and Description |
---|
TestRoleResult() |
Modifier and Type | Method and Description |
---|---|
TestRoleResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.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. |
java.lang.String |
getSuccess()
If the operation is successful, this value is
true ;
otherwise, the value is false . |
int |
hashCode() |
void |
setMessages(java.util.Collection<java.lang.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. |
void |
setSuccess(java.lang.String success)
If the operation is successful, this value is
true ;
otherwise, the value is false . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestRoleResult |
withMessages(java.util.Collection<java.lang.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. |
TestRoleResult |
withMessages(java.lang.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. |
TestRoleResult |
withSuccess(java.lang.String success)
If the operation is successful, this value is
true ;
otherwise, the value is false . |
private java.lang.String success
If the operation is successful, this value is true
;
otherwise, the value is false
.
private SdkInternalList<java.lang.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.
public void setSuccess(java.lang.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 java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TestRoleResult clone()
clone
in class java.lang.Object