@Generated(value="software.amazon.awssdk:codegen") public final class Resource extends Object implements StructuredPojo, ToCopyableBuilder<Resource.Builder,Resource>
Information about an instance of an AWS resource associated with a project.
Modifier and Type | Class and Description |
---|---|
static interface |
Resource.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
Returns the value of the Arn property for this object.
|
Map<String,String> |
attributes()
Returns the value of the Attributes property for this object.
|
static Resource.Builder |
builder() |
boolean |
equals(Object obj) |
String |
feature()
Returns the value of the Feature property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
Returns the value of the Name property for this object.
|
static Class<? extends Resource.Builder> |
serializableBuilderClass() |
Resource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
Returns the value of the Type property for this object.
|
copy
public String type()
public String name()
public String arn()
public String feature()
public Map<String,String> attributes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Resource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Resource.Builder,Resource>
public static Resource.Builder builder()
public static Class<? extends Resource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.