/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about an Automation failure. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class FailureDetails implements Serializable, Cloneable, StructuredPojo { /** ** The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. *
*/ private String failureStage; /** ** The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. *
*/ private String failureType; /** ** Detailed information about the Automation step failure. *
*/ private java.util.Map* The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. *
* * @param failureStage * The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. */ public void setFailureStage(String failureStage) { this.failureStage = failureStage; } /** ** The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. *
* * @return The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. */ public String getFailureStage() { return this.failureStage; } /** ** The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. *
* * @param failureStage * The stage of the Automation execution when the failure occurred. The stages include the following: * InputValidation, PreVerification, Invocation, PostVerification. * @return Returns a reference to this object so that method calls can be chained together. */ public FailureDetails withFailureStage(String failureStage) { setFailureStage(failureStage); return this; } /** ** The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. *
* * @param failureType * The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. */ public void setFailureType(String failureType) { this.failureType = failureType; } /** ** The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. *
* * @return The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. */ public String getFailureType() { return this.failureType; } /** ** The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. *
* * @param failureType * The type of Automation failure. Failure types include the following: Action, Permission, Throttling, * Verification, Internal. * @return Returns a reference to this object so that method calls can be chained together. */ public FailureDetails withFailureType(String failureType) { setFailureType(failureType); return this; } /** ** Detailed information about the Automation step failure. *
* * @return Detailed information about the Automation step failure. */ public java.util.Map* Detailed information about the Automation step failure. *
* * @param details * Detailed information about the Automation step failure. */ public void setDetails(java.util.Map* Detailed information about the Automation step failure. *
* * @param details * Detailed information about the Automation step failure. * @return Returns a reference to this object so that method calls can be chained together. */ public FailureDetails withDetails(java.util.Map