@Generated(value="software.amazon.awssdk:codegen") public class ResourceIdentifier extends Object implements StructuredPojo, ToCopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>
The ARN of a resource, and its resource type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceIdentifier.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceIdentifier.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
resourceArn()
The ARN of a resource.
|
String |
resourceType()
The resource type of a resource, such as
AWS::EC2::Instance. |
static Class<? extends ResourceIdentifier.Builder> |
serializableBuilderClass() |
ResourceIdentifier.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String resourceArn()
The ARN of a resource.
public String resourceType()
The resource type of a resource, such as AWS::EC2::Instance.
AWS::EC2::Instance.public ResourceIdentifier.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>public static ResourceIdentifier.Builder builder()
public static Class<? extends ResourceIdentifier.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.