@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhysicalResourceId extends Object implements Serializable, Cloneable, StructuredPojo
Defines a physical resource identifier.
Constructor and Description |
---|
PhysicalResourceId() |
Modifier and Type | Method and Description |
---|---|
PhysicalResourceId |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account that owns the physical resource.
|
String |
getAwsRegion()
The Amazon Web Services Region that the physical resource is located in.
|
String |
getIdentifier()
The identifier of the physical resource.
|
String |
getType()
Specifies the type of physical resource identifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account that owns the physical resource.
|
void |
setAwsRegion(String awsRegion)
The Amazon Web Services Region that the physical resource is located in.
|
void |
setIdentifier(String identifier)
The identifier of the physical resource.
|
void |
setType(String type)
Specifies the type of physical resource identifier.
|
String |
toString()
Returns a string representation of this object.
|
PhysicalResourceId |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account that owns the physical resource.
|
PhysicalResourceId |
withAwsRegion(String awsRegion)
The Amazon Web Services Region that the physical resource is located in.
|
PhysicalResourceId |
withIdentifier(String identifier)
The identifier of the physical resource.
|
PhysicalResourceId |
withType(PhysicalIdentifierType type)
Specifies the type of physical resource identifier.
|
PhysicalResourceId |
withType(String type)
Specifies the type of physical resource identifier.
|
public void setAwsAccountId(String awsAccountId)
The Amazon Web Services account that owns the physical resource.
awsAccountId
- The Amazon Web Services account that owns the physical resource.public String getAwsAccountId()
The Amazon Web Services account that owns the physical resource.
public PhysicalResourceId withAwsAccountId(String awsAccountId)
The Amazon Web Services account that owns the physical resource.
awsAccountId
- The Amazon Web Services account that owns the physical resource.public void setAwsRegion(String awsRegion)
The Amazon Web Services Region that the physical resource is located in.
awsRegion
- The Amazon Web Services Region that the physical resource is located in.public String getAwsRegion()
The Amazon Web Services Region that the physical resource is located in.
public PhysicalResourceId withAwsRegion(String awsRegion)
The Amazon Web Services Region that the physical resource is located in.
awsRegion
- The Amazon Web Services Region that the physical resource is located in.public void setIdentifier(String identifier)
The identifier of the physical resource.
identifier
- The identifier of the physical resource.public String getIdentifier()
The identifier of the physical resource.
public PhysicalResourceId withIdentifier(String identifier)
The identifier of the physical resource.
identifier
- The identifier of the physical resource.public void setType(String type)
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.
type
- 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.
PhysicalIdentifierType
public String getType()
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.
PhysicalIdentifierType
public PhysicalResourceId withType(String type)
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.
type
- 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.
PhysicalIdentifierType
public PhysicalResourceId withType(PhysicalIdentifierType type)
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.
type
- 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.
PhysicalIdentifierType
public String toString()
toString
in class Object
Object.toString()
public PhysicalResourceId clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.