public class UpdateCustomMetricResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description | 
|---|
| UpdateCustomMetricResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.util.Date | getCreationDate()
 The creation date of the custom metric in milliseconds since epoch. | 
| java.lang.String | getDisplayName()
 A friendly name in the console for the custom metric | 
| java.util.Date | getLastModifiedDate()
 The time the custom metric was last modified in milliseconds since epoch. | 
| java.lang.String | getMetricArn()
 The Amazon Resource Number (ARN) of the custom metric. | 
| java.lang.String | getMetricName()
 The name of the custom metric. | 
| java.lang.String | getMetricType()
 The type of the custom metric. | 
| int | hashCode() | 
| void | setCreationDate(java.util.Date creationDate)
 The creation date of the custom metric in milliseconds since epoch. | 
| void | setDisplayName(java.lang.String displayName)
 A friendly name in the console for the custom metric | 
| void | setLastModifiedDate(java.util.Date lastModifiedDate)
 The time the custom metric was last modified in milliseconds since epoch. | 
| void | setMetricArn(java.lang.String metricArn)
 The Amazon Resource Number (ARN) of the custom metric. | 
| void | setMetricName(java.lang.String metricName)
 The name of the custom metric. | 
| void | setMetricType(CustomMetricType metricType)
 The type of the custom metric. | 
| void | setMetricType(java.lang.String metricType)
 The type of the custom metric. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| UpdateCustomMetricResult | withCreationDate(java.util.Date creationDate)
 The creation date of the custom metric in milliseconds since epoch. | 
| UpdateCustomMetricResult | withDisplayName(java.lang.String displayName)
 A friendly name in the console for the custom metric | 
| UpdateCustomMetricResult | withLastModifiedDate(java.util.Date lastModifiedDate)
 The time the custom metric was last modified in milliseconds since epoch. | 
| UpdateCustomMetricResult | withMetricArn(java.lang.String metricArn)
 The Amazon Resource Number (ARN) of the custom metric. | 
| UpdateCustomMetricResult | withMetricName(java.lang.String metricName)
 The name of the custom metric. | 
| UpdateCustomMetricResult | withMetricType(CustomMetricType metricType)
 The type of the custom metric. | 
| UpdateCustomMetricResult | withMetricType(java.lang.String metricType)
 The type of the custom metric. | 
public java.lang.String getMetricName()
The name of the custom metric.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
The name of the custom metric.
public void setMetricName(java.lang.String metricName)
The name of the custom metric.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
metricName - The name of the custom metric.
public UpdateCustomMetricResult withMetricName(java.lang.String metricName)
The name of the custom metric.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
metricName - The name of the custom metric.
public java.lang.String getMetricArn()
The Amazon Resource Number (ARN) of the custom metric.
The Amazon Resource Number (ARN) of the custom metric.
public void setMetricArn(java.lang.String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
metricArn - The Amazon Resource Number (ARN) of the custom metric.
public UpdateCustomMetricResult withMetricArn(java.lang.String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
Returns a reference to this object so that method calls can be chained together.
metricArn - The Amazon Resource Number (ARN) of the custom metric.
public java.lang.String getMetricType()
 The type of the custom metric. Types include string-list,
 ip-address-list, number-list, and
 number.
 
 Constraints:
 Allowed Values: string-list, ip-address-list, number-list, number
         The type of the custom metric. Types include
         string-list, ip-address-list,
         number-list, and number.
         
CustomMetricTypepublic void setMetricType(java.lang.String metricType)
 The type of the custom metric. Types include string-list,
 ip-address-list, number-list, and
 number.
 
 Constraints:
 Allowed Values: string-list, ip-address-list, number-list, number
metricType - 
            The type of the custom metric. Types include
            string-list, ip-address-list,
            number-list, and number.
            
CustomMetricTypepublic UpdateCustomMetricResult withMetricType(java.lang.String metricType)
 The type of the custom metric. Types include string-list,
 ip-address-list, number-list, and
 number.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: string-list, ip-address-list, number-list, number
metricType - 
            The type of the custom metric. Types include
            string-list, ip-address-list,
            number-list, and number.
            
CustomMetricTypepublic void setMetricType(CustomMetricType metricType)
 The type of the custom metric. Types include string-list,
 ip-address-list, number-list, and
 number.
 
 Constraints:
 Allowed Values: string-list, ip-address-list, number-list, number
metricType - 
            The type of the custom metric. Types include
            string-list, ip-address-list,
            number-list, and number.
            
CustomMetricTypepublic UpdateCustomMetricResult withMetricType(CustomMetricType metricType)
 The type of the custom metric. Types include string-list,
 ip-address-list, number-list, and
 number.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: string-list, ip-address-list, number-list, number
metricType - 
            The type of the custom metric. Types include
            string-list, ip-address-list,
            number-list, and number.
            
CustomMetricTypepublic java.lang.String getDisplayName()
A friendly name in the console for the custom metric
 Constraints:
 Length:  - 128
 Pattern: [\p{Graph}\x20]*
A friendly name in the console for the custom metric
public void setDisplayName(java.lang.String displayName)
A friendly name in the console for the custom metric
 Constraints:
 Length:  - 128
 Pattern: [\p{Graph}\x20]*
displayName - A friendly name in the console for the custom metric
public UpdateCustomMetricResult withDisplayName(java.lang.String displayName)
A friendly name in the console for the custom metric
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length:  - 128
 Pattern: [\p{Graph}\x20]*
displayName - A friendly name in the console for the custom metric
public java.util.Date getCreationDate()
The creation date of the custom metric in milliseconds since epoch.
The creation date of the custom metric in milliseconds since epoch.
public void setCreationDate(java.util.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 UpdateCustomMetricResult withCreationDate(java.util.Date creationDate)
The creation date of the custom metric in milliseconds since epoch.
Returns a reference to this object so that method calls can be chained together.
creationDate - The creation date of the custom metric in milliseconds since epoch.
public java.util.Date getLastModifiedDate()
The time the custom metric was last modified in milliseconds since epoch.
The time the custom metric was last modified in milliseconds since epoch.
public void setLastModifiedDate(java.util.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 UpdateCustomMetricResult withLastModifiedDate(java.util.Date lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The time the custom metric was last modified in milliseconds since epoch.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.