/* * 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; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Defines a physical resource identifier. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PhysicalResourceId implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Web Services account that owns the physical resource. *
*/ private String awsAccountId; /** ** The Amazon Web Services Region that the physical resource is located in. *
*/ private String awsRegion; /** ** The identifier of the physical resource. *
*/ private String identifier; /** ** Specifies the type of physical resource identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** The Amazon Web Services account that owns the physical resource. *
* * @param awsAccountId * The Amazon Web Services account that owns the physical resource. */ public void setAwsAccountId(String awsAccountId) { this.awsAccountId = awsAccountId; } /** ** The Amazon Web Services account that owns the physical resource. *
* * @return The Amazon Web Services account that owns the physical resource. */ public String getAwsAccountId() { return this.awsAccountId; } /** ** The Amazon Web Services account that owns the physical resource. *
* * @param awsAccountId * The Amazon Web Services account that owns the physical resource. * @return Returns a reference to this object so that method calls can be chained together. */ public PhysicalResourceId withAwsAccountId(String awsAccountId) { setAwsAccountId(awsAccountId); return this; } /** ** The Amazon Web Services Region that the physical resource is located in. *
* * @param awsRegion * The Amazon Web Services Region that the physical resource is located in. */ public void setAwsRegion(String awsRegion) { this.awsRegion = awsRegion; } /** ** The Amazon Web Services Region that the physical resource is located in. *
* * @return The Amazon Web Services Region that the physical resource is located in. */ public String getAwsRegion() { return this.awsRegion; } /** ** The Amazon Web Services Region that the physical resource is located in. *
* * @param awsRegion * The Amazon Web Services Region that the physical resource is located in. * @return Returns a reference to this object so that method calls can be chained together. */ public PhysicalResourceId withAwsRegion(String awsRegion) { setAwsRegion(awsRegion); return this; } /** ** The identifier of the physical resource. *
* * @param identifier * The identifier of the physical resource. */ public void setIdentifier(String identifier) { this.identifier = identifier; } /** ** The identifier of the physical resource. *
* * @return The identifier of the physical resource. */ public String getIdentifier() { return this.identifier; } /** ** The identifier of the physical resource. *
* * @param identifier * The identifier of the physical resource. * @return Returns a reference to this object so that method calls can be chained together. */ public PhysicalResourceId withIdentifier(String identifier) { setIdentifier(identifier); return this; } /** ** Specifies the type of physical resource identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** Specifies the type of physical resource identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** Specifies the type of physical resource identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** Specifies the type of physical resource identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
** The resource identifier is an Amazon Resource Name (ARN) . *
** The resource identifier is an Resilience Hub-native identifier. *
*