@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInventory extends Object implements Serializable, Cloneable, StructuredPojo
A set of attributes that describe a resource.
Constructor and Description |
---|
ResourceInventory() |
Modifier and Type | Method and Description |
---|---|
ResourceInventory |
clone() |
boolean |
equals(Object obj) |
String |
getPlatform()
The platform of the resource.
|
String |
getPlatformVersion()
Platform version of the resource in the inventory.
|
String |
getResourceArn()
The ARN of the resource.
|
String |
getResourceId()
Unique ID of the resource.
|
String |
getResourceOwningAccountId()
Unique ID of the account that owns the resource.
|
String |
getResourceType()
The type of resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPlatform(String platform)
The platform of the resource.
|
void |
setPlatformVersion(String platformVersion)
Platform version of the resource in the inventory.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource.
|
void |
setResourceId(String resourceId)
Unique ID of the resource.
|
void |
setResourceOwningAccountId(String resourceOwningAccountId)
Unique ID of the account that owns the resource.
|
void |
setResourceType(String resourceType)
The type of resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceInventory |
withPlatform(String platform)
The platform of the resource.
|
ResourceInventory |
withPlatformVersion(String platformVersion)
Platform version of the resource in the inventory.
|
ResourceInventory |
withResourceArn(String resourceArn)
The ARN of the resource.
|
ResourceInventory |
withResourceId(String resourceId)
Unique ID of the resource.
|
ResourceInventory |
withResourceOwningAccountId(String resourceOwningAccountId)
Unique ID of the account that owns the resource.
|
ResourceInventory |
withResourceType(ResourceType resourceType)
The type of resource.
|
ResourceInventory |
withResourceType(String resourceType)
The type of resource.
|
public void setResourceId(String resourceId)
Unique ID of the resource.
resourceId
- Unique ID of the resource.public String getResourceId()
Unique ID of the resource.
public ResourceInventory withResourceId(String resourceId)
Unique ID of the resource.
resourceId
- Unique ID of the resource.public void setResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public String getResourceType()
The type of resource.
ResourceType
public ResourceInventory withResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public ResourceInventory withResourceType(ResourceType resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public void setResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.public String getResourceArn()
The ARN of the resource.
public ResourceInventory withResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.public void setPlatform(String platform)
The platform of the resource.
platform
- The platform of the resource.public String getPlatform()
The platform of the resource.
public ResourceInventory withPlatform(String platform)
The platform of the resource.
platform
- The 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)
Unique ID of the account that owns the resource.
resourceOwningAccountId
- Unique ID of the account that owns the resource.public String getResourceOwningAccountId()
Unique ID of the account that owns the resource.
public ResourceInventory withResourceOwningAccountId(String resourceOwningAccountId)
Unique ID of the account that owns the resource.
resourceOwningAccountId
- Unique 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.