@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
The list of resources involved in the agreement.
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier of the resource.
|
String |
getType()
Type of the resource, which is the product.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The unique identifier of the resource.
|
void |
setType(String type)
Type of the resource, which is the product.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withId(String id)
The unique identifier of the resource.
|
Resource |
withType(String type)
Type of the resource, which is the product.
|
public void setId(String id)
The unique identifier of the resource.
We mention the term resource, which is most commonly a product, so a resourceId is also a
productId.
id - The unique identifier of the resource.
We mention the term resource, which is most commonly a product, so a resourceId is also a
productId.
public String getId()
The unique identifier of the resource.
We mention the term resource, which is most commonly a product, so a resourceId is also a
productId.
We mention the term resource, which is most commonly a product, so a resourceId is also a
productId.
public Resource withId(String id)
The unique identifier of the resource.
We mention the term resource, which is most commonly a product, so a resourceId is also a
productId.
id - The unique identifier of the resource.
We mention the term resource, which is most commonly a product, so a resourceId is also a
productId.
public void setType(String type)
Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.
type - Type of the resource, which is the product. Values include SaaSProduct or
AmiProduct.public String getType()
Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.
SaaSProduct or
AmiProduct.public Resource withType(String type)
Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.
type - Type of the resource, which is the product. Values include SaaSProduct or
AmiProduct.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.