@Generated(value="software.amazon.awssdk:codegen") public class ApprovalResult extends Object implements StructuredPojo, ToCopyableBuilder<ApprovalResult.Builder,ApprovalResult>
Represents information about the result of an approval request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApprovalResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ApprovalResult.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ApprovalResult.Builder> |
serializableBuilderClass() |
ApprovalStatus |
status()
The response submitted by a reviewer assigned to an approval action request.
|
String |
statusAsString()
The response submitted by a reviewer assigned to an approval action request.
|
String |
summary()
The summary of the current status of the approval request.
|
ApprovalResult.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String summary()
The summary of the current status of the approval request.
public ApprovalStatus status()
The response submitted by a reviewer assigned to an approval action request.
If the service returns an enum value that is not available in the current SDK version, status will
return ApprovalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ApprovalStatuspublic String statusAsString()
The response submitted by a reviewer assigned to an approval action request.
If the service returns an enum value that is not available in the current SDK version, status will
return ApprovalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ApprovalStatuspublic ApprovalResult.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ApprovalResult.Builder,ApprovalResult>public static ApprovalResult.Builder builder()
public static Class<? extends ApprovalResult.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.