Interface PutLifecycleEventHookExecutionStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeDeployRequest.Builder,CopyableBuilder<PutLifecycleEventHookExecutionStatusRequest.Builder,,PutLifecycleEventHookExecutionStatusRequest> SdkBuilder<PutLifecycleEventHookExecutionStatusRequest.Builder,,PutLifecycleEventHookExecutionStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutLifecycleEventHookExecutionStatusRequest
public static interface PutLifecycleEventHookExecutionStatusRequest.Builder
extends CodeDeployRequest.Builder, SdkPojo, CopyableBuilder<PutLifecycleEventHookExecutionStatusRequest.Builder,PutLifecycleEventHookExecutionStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId(String deploymentId) The unique ID of a deployment.lifecycleEventHookExecutionId(String lifecycleEventHookExecutionId) The execution ID of a deployment's lifecycle hook.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The result of a Lambda function that validates a deployment lifecycle event.status(LifecycleEventStatus status) The result of a Lambda function that validates a deployment lifecycle event.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
deploymentId
The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
- Parameters:
deploymentId- The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEventHookExecutionId
PutLifecycleEventHookExecutionStatusRequest.Builder lifecycleEventHookExecutionId(String lifecycleEventHookExecutionId) The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the
hookssection of the AppSpec file.- Parameters:
lifecycleEventHookExecutionId- The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in thehookssection of the AppSpec file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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, onlySucceededandFailedcan be passed successfully in your API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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, onlySucceededandFailedcan be passed successfully in your API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutLifecycleEventHookExecutionStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutLifecycleEventHookExecutionStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-