@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCustomMetricResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateCustomMetricResult() |
Modifier and Type | Method and Description |
---|---|
UpdateCustomMetricResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The creation date of the custom metric in milliseconds since epoch.
|
String |
getDisplayName()
A friendly name in the console for the custom metric
|
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)
A friendly name in the console for the custom metric
|
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.
|
UpdateCustomMetricResult |
withCreationDate(Date creationDate)
The creation date of the custom metric in milliseconds since epoch.
|
UpdateCustomMetricResult |
withDisplayName(String displayName)
A friendly name in the console for the custom metric
|
UpdateCustomMetricResult |
withLastModifiedDate(Date lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
|
UpdateCustomMetricResult |
withMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
|
UpdateCustomMetricResult |
withMetricName(String metricName)
The name of the custom metric.
|
UpdateCustomMetricResult |
withMetricType(CustomMetricType metricType)
The type of the custom metric.
|
UpdateCustomMetricResult |
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 UpdateCustomMetricResult 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 UpdateCustomMetricResult 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 UpdateCustomMetricResult 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 UpdateCustomMetricResult 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)
A friendly name in the console for the custom metric
displayName
- A friendly name in the console for the custom metricpublic String getDisplayName()
A friendly name in the console for the custom metric
public UpdateCustomMetricResult withDisplayName(String displayName)
A friendly name in the console for the custom metric
displayName
- A friendly name in the console for the custom metricpublic 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 UpdateCustomMetricResult 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 UpdateCustomMetricResult 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 UpdateCustomMetricResult clone()