Class PutLifecycleEventHookExecutionStatusRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest
-
- software.amazon.awssdk.services.codedeploy.model.PutLifecycleEventHookExecutionStatusRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutLifecycleEventHookExecutionStatusRequest.Builder,PutLifecycleEventHookExecutionStatusRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutLifecycleEventHookExecutionStatusRequest extends CodeDeployRequest implements ToCopyableBuilder<PutLifecycleEventHookExecutionStatusRequest.Builder,PutLifecycleEventHookExecutionStatusRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutLifecycleEventHookExecutionStatusRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutLifecycleEventHookExecutionStatusRequest.Builderbuilder()StringdeploymentId()The unique ID of a deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlifecycleEventHookExecutionId()The execution ID of a deployment's lifecycle hook.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutLifecycleEventHookExecutionStatusRequest.Builder>serializableBuilderClass()LifecycleEventStatusstatus()The result of a Lambda function that validates a deployment lifecycle event.StringstatusAsString()The result of a Lambda function that validates a deployment lifecycle event.PutLifecycleEventHookExecutionStatusRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
deploymentId
public final String deploymentId()
The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
- Returns:
- The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
-
lifecycleEventHookExecutionId
public final String lifecycleEventHookExecutionId()
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the
hookssection of the AppSpec file.- Returns:
- The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the
hookssection of the AppSpec file.
-
status
public final LifecycleEventStatus status()
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only
SucceededandFailedcan be passed successfully in your API call.If the service returns an enum value that is not available in the current SDK version,
statuswill returnLifecycleEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The result of a Lambda function that validates a deployment lifecycle event. The values listed in
Valid Values are valid for lifecycle statuses in general; however, only
SucceededandFailedcan be passed successfully in your API call. - See Also:
LifecycleEventStatus
-
statusAsString
public final String statusAsString()
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only
SucceededandFailedcan be passed successfully in your API call.If the service returns an enum value that is not available in the current SDK version,
statuswill returnLifecycleEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The result of a Lambda function that validates a deployment lifecycle event. The values listed in
Valid Values are valid for lifecycle statuses in general; however, only
SucceededandFailedcan be passed successfully in your API call. - See Also:
LifecycleEventStatus
-
toBuilder
public PutLifecycleEventHookExecutionStatusRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutLifecycleEventHookExecutionStatusRequest.Builder,PutLifecycleEventHookExecutionStatusRequest>- Specified by:
toBuilderin classCodeDeployRequest
-
builder
public static PutLifecycleEventHookExecutionStatusRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutLifecycleEventHookExecutionStatusRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-