@Generated(value="software.amazon.awssdk:codegen") public final class ResourceInventory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceInventory.Builder,ResourceInventory>
A set of attributes that describe a resource.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceInventory.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceInventory.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
platform()
The platform of the resource.
|
String |
platformVersion()
Platform version of the resource in the inventory.
|
String |
resourceArn()
The ARN of the resource.
|
String |
resourceId()
Unique ID of the resource.
|
String |
resourceOwningAccountId()
Unique ID of the account that owns the resource.
|
ResourceType |
resourceType()
The type of resource.
|
String |
resourceTypeAsString()
The type of resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceInventory.Builder> |
serializableBuilderClass() |
ResourceInventory.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resourceId()
Unique ID of the resource.
public ResourceType resourceType()
The type of resource.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceTypeAsString()
The type of resource.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceArn()
The ARN of the resource.
public String platform()
The platform of the resource.
public String platformVersion()
Platform version of the resource in the inventory.
public String resourceOwningAccountId()
Unique ID of the account that owns the resource.
public ResourceInventory.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceInventory.Builder,ResourceInventory>
public static ResourceInventory.Builder builder()
public static Class<? extends ResourceInventory.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.