@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceMetrics extends Object implements Serializable, Cloneable, StructuredPojo
Information, including performance data and capacity usage, provided by DataSync Discovery about a resource in your on-premises storage system.
Constructor and Description |
---|
ResourceMetrics() |
Modifier and Type | Method and Description |
---|---|
ResourceMetrics |
clone() |
boolean |
equals(Object obj) |
Capacity |
getCapacity()
The storage capacity of the on-premises storage system resource.
|
P95Metrics |
getP95Metrics()
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
|
String |
getResourceId()
The universally unique identifier (UUID) of the on-premises storage system resource.
|
String |
getResourceType()
The type of on-premises storage system resource.
|
Date |
getTimestamp()
The time when DataSync Discovery collected this information from the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacity(Capacity capacity)
The storage capacity of the on-premises storage system resource.
|
void |
setP95Metrics(P95Metrics p95Metrics)
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
|
void |
setResourceId(String resourceId)
The universally unique identifier (UUID) of the on-premises storage system resource.
|
void |
setResourceType(String resourceType)
The type of on-premises storage system resource.
|
void |
setTimestamp(Date timestamp)
The time when DataSync Discovery collected this information from the resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceMetrics |
withCapacity(Capacity capacity)
The storage capacity of the on-premises storage system resource.
|
ResourceMetrics |
withP95Metrics(P95Metrics p95Metrics)
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
|
ResourceMetrics |
withResourceId(String resourceId)
The universally unique identifier (UUID) of the on-premises storage system resource.
|
ResourceMetrics |
withResourceType(DiscoveryResourceType resourceType)
The type of on-premises storage system resource.
|
ResourceMetrics |
withResourceType(String resourceType)
The type of on-premises storage system resource.
|
ResourceMetrics |
withTimestamp(Date timestamp)
The time when DataSync Discovery collected this information from the resource.
|
public void setTimestamp(Date timestamp)
The time when DataSync Discovery collected this information from the resource.
timestamp
- The time when DataSync Discovery collected this information from the resource.public Date getTimestamp()
The time when DataSync Discovery collected this information from the resource.
public ResourceMetrics withTimestamp(Date timestamp)
The time when DataSync Discovery collected this information from the resource.
timestamp
- The time when DataSync Discovery collected this information from the resource.public void setP95Metrics(P95Metrics p95Metrics)
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
p95Metrics
- The types of performance data that DataSync Discovery collects about the on-premises storage system
resource.public P95Metrics getP95Metrics()
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
public ResourceMetrics withP95Metrics(P95Metrics p95Metrics)
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
p95Metrics
- The types of performance data that DataSync Discovery collects about the on-premises storage system
resource.public void setCapacity(Capacity capacity)
The storage capacity of the on-premises storage system resource.
capacity
- The storage capacity of the on-premises storage system resource.public Capacity getCapacity()
The storage capacity of the on-premises storage system resource.
public ResourceMetrics withCapacity(Capacity capacity)
The storage capacity of the on-premises storage system resource.
capacity
- The storage capacity of the on-premises storage system resource.public void setResourceId(String resourceId)
The universally unique identifier (UUID) of the on-premises storage system resource.
resourceId
- The universally unique identifier (UUID) of the on-premises storage system resource.public String getResourceId()
The universally unique identifier (UUID) of the on-premises storage system resource.
public ResourceMetrics withResourceId(String resourceId)
The universally unique identifier (UUID) of the on-premises storage system resource.
resourceId
- The universally unique identifier (UUID) of the on-premises storage system resource.public void setResourceType(String resourceType)
The type of on-premises storage system resource.
resourceType
- The type of on-premises storage system resource.DiscoveryResourceType
public String getResourceType()
The type of on-premises storage system resource.
DiscoveryResourceType
public ResourceMetrics withResourceType(String resourceType)
The type of on-premises storage system resource.
resourceType
- The type of on-premises storage system resource.DiscoveryResourceType
public ResourceMetrics withResourceType(DiscoveryResourceType resourceType)
The type of on-premises storage system resource.
resourceType
- The type of on-premises storage system resource.DiscoveryResourceType
public String toString()
toString
in class Object
Object.toString()
public ResourceMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.