@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFleetMetricResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateFleetMetricResult() |
Modifier and Type | Method and Description |
---|---|
CreateFleetMetricResult |
clone() |
boolean |
equals(Object obj) |
String |
getMetricArn()
The Amazon Resource Name (ARN) of the new fleet metric.
|
String |
getMetricName()
The name of the fleet metric to create.
|
int |
hashCode() |
void |
setMetricArn(String metricArn)
The Amazon Resource Name (ARN) of the new fleet metric.
|
void |
setMetricName(String metricName)
The name of the fleet metric to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateFleetMetricResult |
withMetricArn(String metricArn)
The Amazon Resource Name (ARN) of the new fleet metric.
|
CreateFleetMetricResult |
withMetricName(String metricName)
The name of the fleet metric to create.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMetricName(String metricName)
The name of the fleet metric to create.
metricName
- The name of the fleet metric to create.public String getMetricName()
The name of the fleet metric to create.
public CreateFleetMetricResult withMetricName(String metricName)
The name of the fleet metric to create.
metricName
- The name of the fleet metric to create.public void setMetricArn(String metricArn)
The Amazon Resource Name (ARN) of the new fleet metric.
metricArn
- The Amazon Resource Name (ARN) of the new fleet metric.public String getMetricArn()
The Amazon Resource Name (ARN) of the new fleet metric.
public CreateFleetMetricResult withMetricArn(String metricArn)
The Amazon Resource Name (ARN) of the new fleet metric.
metricArn
- The Amazon Resource Name (ARN) of the new fleet metric.public String toString()
toString
in class Object
Object.toString()
public CreateFleetMetricResult clone()