Class ApprovalResult
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.ApprovalResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApprovalResult.Builder,ApprovalResult>
@Generated("software.amazon.awssdk:codegen") public final class ApprovalResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApprovalResult.Builder,ApprovalResult>
Represents information about the result of an approval request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApprovalResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApprovalResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ApprovalResult.Builder>serializableBuilderClass()ApprovalStatusstatus()The response submitted by a reviewer assigned to an approval action request.StringstatusAsString()The response submitted by a reviewer assigned to an approval action request.Stringsummary()The summary of the current status of the approval request.ApprovalResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
summary
public final String summary()
The summary of the current status of the approval request.
- Returns:
- The summary of the current status of the approval request.
-
status
public final 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,
statuswill returnApprovalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The response submitted by a reviewer assigned to an approval action request.
- See Also:
ApprovalStatus
-
statusAsString
public final 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,
statuswill returnApprovalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The response submitted by a reviewer assigned to an approval action request.
- See Also:
ApprovalStatus
-
toBuilder
public ApprovalResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApprovalResult.Builder,ApprovalResult>
-
builder
public static ApprovalResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApprovalResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-