Interface DeleteDeploymentGroupResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeDeployResponse.Builder, CopyableBuilder<DeleteDeploymentGroupResponse.Builder,DeleteDeploymentGroupResponse>, SdkBuilder<DeleteDeploymentGroupResponse.Builder,DeleteDeploymentGroupResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DeleteDeploymentGroupResponse

public static interface DeleteDeploymentGroupResponse.Builder extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<DeleteDeploymentGroupResponse.Builder,DeleteDeploymentGroupResponse>
  • Method Details

    • hooksNotCleanedUp

      DeleteDeploymentGroupResponse.Builder hooksNotCleanedUp(Collection<AutoScalingGroup> hooksNotCleanedUp)

      If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.

      Parameters:
      hooksNotCleanedUp - If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hooksNotCleanedUp

      DeleteDeploymentGroupResponse.Builder hooksNotCleanedUp(AutoScalingGroup... hooksNotCleanedUp)

      If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.

      Parameters:
      hooksNotCleanedUp - If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hooksNotCleanedUp

      If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.

      This is a convenience method that creates an instance of the AutoScalingGroup.Builder avoiding the need to create one manually via AutoScalingGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hooksNotCleanedUp(List<AutoScalingGroup>).

      Parameters:
      hooksNotCleanedUp - a consumer that will call methods on AutoScalingGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: