@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetMetricNameAndArn extends Object implements Serializable, Cloneable, StructuredPojo
The name and ARN of a fleet metric.
Constructor and Description |
---|
FleetMetricNameAndArn() |
Modifier and Type | Method and Description |
---|---|
FleetMetricNameAndArn |
clone() |
boolean |
equals(Object obj) |
String |
getMetricArn()
The fleet metric ARN.
|
String |
getMetricName()
The fleet metric name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricArn(String metricArn)
The fleet metric ARN.
|
void |
setMetricName(String metricName)
The fleet metric name.
|
String |
toString()
Returns a string representation of this object.
|
FleetMetricNameAndArn |
withMetricArn(String metricArn)
The fleet metric ARN.
|
FleetMetricNameAndArn |
withMetricName(String metricName)
The fleet metric name.
|
public void setMetricName(String metricName)
The fleet metric name.
metricName
- The fleet metric name.public String getMetricName()
The fleet metric name.
public FleetMetricNameAndArn withMetricName(String metricName)
The fleet metric name.
metricName
- The fleet metric name.public void setMetricArn(String metricArn)
The fleet metric ARN.
metricArn
- The fleet metric ARN.public String getMetricArn()
The fleet metric ARN.
public FleetMetricNameAndArn withMetricArn(String metricArn)
The fleet metric ARN.
metricArn
- The fleet metric ARN.public String toString()
toString
in class Object
Object.toString()
public FleetMetricNameAndArn clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.