@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInventory extends Object implements Serializable, Cloneable, StructuredPojo
Details about a resource.
Constructor and Description |
---|
ResourceInventory() |
Modifier and Type | Method and Description |
---|---|
ResourceInventory |
clone() |
boolean |
equals(Object obj) |
String |
getPlatform()
Platform of the resource.
|
String |
getPlatformVersion()
Platform version of the resource in the inventory.
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the resource.
|
String |
getResourceId()
ID of the resource.
|
String |
getResourceOwningAccountId()
ID of the account that owns the resource.
|
String |
getResourceType()
Type of resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPlatform(String platform)
Platform of the resource.
|
void |
setPlatformVersion(String platformVersion)
Platform version of the resource in the inventory.
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
void |
setResourceId(String resourceId)
ID of the resource.
|
void |
setResourceOwningAccountId(String resourceOwningAccountId)
ID of the account that owns the resource.
|
void |
setResourceType(String resourceType)
Type of resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceInventory |
withPlatform(String platform)
Platform of the resource.
|
ResourceInventory |
withPlatformVersion(String platformVersion)
Platform version of the resource in the inventory.
|
ResourceInventory |
withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
ResourceInventory |
withResourceId(String resourceId)
ID of the resource.
|
ResourceInventory |
withResourceOwningAccountId(String resourceOwningAccountId)
ID of the account that owns the resource.
|
ResourceInventory |
withResourceType(ResourceType resourceType)
Type of resource.
|
ResourceInventory |
withResourceType(String resourceType)
Type of resource.
|
public void setResourceId(String resourceId)
ID of the resource.
resourceId
- ID of the resource.public String getResourceId()
ID of the resource.
public ResourceInventory withResourceId(String resourceId)
ID of the resource.
resourceId
- ID of the resource.public void setResourceType(String resourceType)
Type of resource.
resourceType
- Type of resource.ResourceType
public String getResourceType()
Type of resource.
ResourceType
public ResourceInventory withResourceType(String resourceType)
Type of resource.
resourceType
- Type of resource.ResourceType
public ResourceInventory withResourceType(ResourceType resourceType)
Type of resource.
resourceType
- Type of resource.ResourceType
public void setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public String getResourceArn()
Amazon Resource Name (ARN) of the resource.
public ResourceInventory withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public void setPlatform(String platform)
Platform of the resource.
platform
- Platform of the resource.public String getPlatform()
Platform of the resource.
public ResourceInventory withPlatform(String platform)
Platform of the resource.
platform
- Platform of the resource.public void setPlatformVersion(String platformVersion)
Platform version of the resource in the inventory.
platformVersion
- Platform version of the resource in the inventory.public String getPlatformVersion()
Platform version of the resource in the inventory.
public ResourceInventory withPlatformVersion(String platformVersion)
Platform version of the resource in the inventory.
platformVersion
- Platform version of the resource in the inventory.public void setResourceOwningAccountId(String resourceOwningAccountId)
ID of the account that owns the resource.
resourceOwningAccountId
- ID of the account that owns the resource.public String getResourceOwningAccountId()
ID of the account that owns the resource.
public ResourceInventory withResourceOwningAccountId(String resourceOwningAccountId)
ID of the account that owns the resource.
resourceOwningAccountId
- ID of the account that owns the resource.public String toString()
toString
in class Object
Object.toString()
public ResourceInventory clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.