@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApprovalResult extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the result of an approval request.
Constructor and Description |
---|
ApprovalResult() |
Modifier and Type | Method and Description |
---|---|
ApprovalResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The response submitted by a reviewer assigned to an approval action request.
|
String |
getSummary()
The summary of the current status of the approval request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(ApprovalStatus status)
The response submitted by a reviewer assigned to an approval action request.
|
void |
setStatus(String status)
The response submitted by a reviewer assigned to an approval action request.
|
void |
setSummary(String summary)
The summary of the current status of the approval request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ApprovalResult |
withStatus(ApprovalStatus status)
The response submitted by a reviewer assigned to an approval action request.
|
ApprovalResult |
withStatus(String status)
The response submitted by a reviewer assigned to an approval action request.
|
ApprovalResult |
withSummary(String summary)
The summary of the current status of the approval request.
|
public void setSummary(String summary)
The summary of the current status of the approval request.
summary
- The summary of the current status of the approval request.public String getSummary()
The summary of the current status of the approval request.
public ApprovalResult withSummary(String summary)
The summary of the current status of the approval request.
summary
- The summary of the current status of the approval request.public void setStatus(String status)
The response submitted by a reviewer assigned to an approval action request.
status
- The response submitted by a reviewer assigned to an approval action request.ApprovalStatus
public String getStatus()
The response submitted by a reviewer assigned to an approval action request.
ApprovalStatus
public ApprovalResult withStatus(String status)
The response submitted by a reviewer assigned to an approval action request.
status
- The response submitted by a reviewer assigned to an approval action request.ApprovalStatus
public void setStatus(ApprovalStatus status)
The response submitted by a reviewer assigned to an approval action request.
status
- The response submitted by a reviewer assigned to an approval action request.ApprovalStatus
public ApprovalResult withStatus(ApprovalStatus status)
The response submitted by a reviewer assigned to an approval action request.
status
- The response submitted by a reviewer assigned to an approval action request.ApprovalStatus
public String toString()
toString
in class Object
Object.toString()
public ApprovalResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.