@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCustomMetricResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCustomMetricResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCustomMetricResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The creation date of the custom metric in milliseconds since epoch.
|
String |
getDisplayName()
Field represents a friendly name in the console for the custom metric; doesn't have to be unique.
|
Date |
getLastModifiedDate()
The time the custom metric was last modified in milliseconds since epoch.
|
String |
getMetricArn()
The Amazon Resource Number (ARN) of the custom metric.
|
String |
getMetricName()
The name of the custom metric.
|
String |
getMetricType()
The type of the custom metric.
|
int |
hashCode() |
void |
setCreationDate(Date creationDate)
The creation date of the custom metric in milliseconds since epoch.
|
void |
setDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric; doesn't have to be unique.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
|
void |
setMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
|
void |
setMetricName(String metricName)
The name of the custom metric.
|
void |
setMetricType(String metricType)
The type of the custom metric.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCustomMetricResult |
withCreationDate(Date creationDate)
The creation date of the custom metric in milliseconds since epoch.
|
DescribeCustomMetricResult |
withDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric; doesn't have to be unique.
|
DescribeCustomMetricResult |
withLastModifiedDate(Date lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
|
DescribeCustomMetricResult |
withMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
|
DescribeCustomMetricResult |
withMetricName(String metricName)
The name of the custom metric.
|
DescribeCustomMetricResult |
withMetricType(CustomMetricType metricType)
The type of the custom metric.
|
DescribeCustomMetricResult |
withMetricType(String metricType)
The type of the custom metric.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMetricName(String metricName)
The name of the custom metric.
metricName
- The name of the custom metric.public String getMetricName()
The name of the custom metric.
public DescribeCustomMetricResult withMetricName(String metricName)
The name of the custom metric.
metricName
- The name of the custom metric.public void setMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
metricArn
- The Amazon Resource Number (ARN) of the custom metric.public String getMetricArn()
The Amazon Resource Number (ARN) of the custom metric.
public DescribeCustomMetricResult withMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
metricArn
- The Amazon Resource Number (ARN) of the custom metric.public void setMetricType(String metricType)
The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.
metricType
- The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.CustomMetricType
public String getMetricType()
The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.
string-list
, ip-address-list
,
number-list
, and number
.CustomMetricType
public DescribeCustomMetricResult withMetricType(String metricType)
The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.
metricType
- The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.CustomMetricType
public DescribeCustomMetricResult withMetricType(CustomMetricType metricType)
The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.
metricType
- The type of the custom metric. Types include string-list
, ip-address-list
,
number-list
, and number
.CustomMetricType
public void setDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
displayName
- Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't
use this name as the metric identifier in the device metric report. Can be updated.public String getDisplayName()
Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
public DescribeCustomMetricResult withDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
displayName
- Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't
use this name as the metric identifier in the device metric report. Can be updated.public void setCreationDate(Date creationDate)
The creation date of the custom metric in milliseconds since epoch.
creationDate
- The creation date of the custom metric in milliseconds since epoch.public Date getCreationDate()
The creation date of the custom metric in milliseconds since epoch.
public DescribeCustomMetricResult withCreationDate(Date creationDate)
The creation date of the custom metric in milliseconds since epoch.
creationDate
- The creation date of the custom metric in milliseconds since epoch.public void setLastModifiedDate(Date lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
lastModifiedDate
- The time the custom metric was last modified in milliseconds since epoch.public Date getLastModifiedDate()
The time the custom metric was last modified in milliseconds since epoch.
public DescribeCustomMetricResult withLastModifiedDate(Date lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
lastModifiedDate
- The time the custom metric was last modified in milliseconds since epoch.public String toString()
toString
in class Object
Object.toString()
public DescribeCustomMetricResult clone()