@Generated(value="software.amazon.awssdk:codegen") public final class ResourceMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceMetrics.Builder,ResourceMetrics>
Information, including performance data and capacity usage, provided by DataSync Discovery about a resource in your on-premises storage system.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceMetrics.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceMetrics.Builder |
builder() |
Capacity |
capacity()
The storage capacity of the on-premises storage system resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
P95Metrics |
p95Metrics()
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
|
String |
resourceId()
The universally unique identifier (UUID) of the on-premises storage system resource.
|
DiscoveryResourceType |
resourceType()
The type of on-premises storage system resource.
|
String |
resourceTypeAsString()
The type of on-premises storage system resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceMetrics.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The time when DataSync Discovery collected this information from the resource.
|
ResourceMetrics.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant timestamp()
The time when DataSync Discovery collected this information from the resource.
public final P95Metrics p95Metrics()
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
public final Capacity capacity()
The storage capacity of the on-premises storage system resource.
public final String resourceId()
The universally unique identifier (UUID) of the on-premises storage system resource.
public final DiscoveryResourceType resourceType()
The type of on-premises storage system resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return DiscoveryResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceTypeAsString().
DiscoveryResourceTypepublic final String resourceTypeAsString()
The type of on-premises storage system resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return DiscoveryResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceTypeAsString().
DiscoveryResourceTypepublic ResourceMetrics.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceMetrics.Builder,ResourceMetrics>public static ResourceMetrics.Builder builder()
public static Class<? extends ResourceMetrics.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.