Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class TestRoleResult

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.TestRoleResult
All Implemented Interfaces:
Serializable

public class TestRoleResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
TestRoleResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 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.
 String getSuccess()
          If the operation is successful, this value is true; otherwise, the value is false.
 int hashCode()
           
 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.
 void setSuccess(String success)
          If the operation is successful, this value is true; otherwise, the value is false.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 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.
 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.
 TestRoleResult withSuccess(String success)
          If the operation is successful, this value is true; otherwise, the value is false.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRoleResult

public TestRoleResult()
Method Detail

getSuccess

public String getSuccess()
If the operation is successful, this value is true; otherwise, the value is false.

Constraints:
Pattern: (^true$)|(^false$)

Returns:
If the operation is successful, this value is true; otherwise, the value is false.

setSuccess

public void setSuccess(String success)
If the operation is successful, this value is true; otherwise, the value is false.

Constraints:
Pattern: (^true$)|(^false$)

Parameters:
success - If the operation is successful, this value is true; otherwise, the value is false.

withSuccess

public TestRoleResult withSuccess(String success)
If the operation is successful, this value is true; otherwise, the value is false.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^true$)|(^false$)

Parameters:
success - If the operation is successful, this value is true; otherwise, the value is false.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessages

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.

Returns:
If the Success element contains false, this value is an array of one or more error messages that were generated during the test process.

setMessages

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.

Parameters:
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.

withMessages

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withMessages

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.