/* * 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.resiliencehub.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeAppVersionTemplateResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. For more * information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide. *

*/ private String appArn; /** *

* A JSON string that provides information about your application structure. To learn more about the * appTemplateBody template, see the sample template provided in the Examples section. *

*

* The appTemplateBody JSON string has the following structure: *

* */ private String appTemplateBody; /** *

* The version of the application. *

*/ private String appVersion; /** *

* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. For more * information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide. *

* * @param appArn * The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. For * more information about ARNs, see Amazon Resource Names * (ARNs) in the AWS General Reference guide. */ public void setAppArn(String appArn) { this.appArn = appArn; } /** *

* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. For more * information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide. *

* * @return The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see Amazon Resource Names * (ARNs) in the AWS General Reference guide. */ public String getAppArn() { return this.appArn; } /** *

* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. For more * information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide. *

* * @param appArn * The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: * partition:resiliencehub:region:account:app/app-id. For * more information about ARNs, see Amazon Resource Names * (ARNs) in the AWS General Reference guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppVersionTemplateResult withAppArn(String appArn) { setAppArn(appArn); return this; } /** *

* A JSON string that provides information about your application structure. To learn more about the * appTemplateBody template, see the sample template provided in the Examples section. *

*

* The appTemplateBody JSON string has the following structure: *

* * * @param appTemplateBody * A JSON string that provides information about your application structure. To learn more about the * appTemplateBody template, see the sample template provided in the Examples * section.

*

* The appTemplateBody JSON string has the following structure: *

*