com.amazonaws.services.cloudwatch.model
Class Dimension

java.lang.Object
  extended by com.amazonaws.services.cloudwatch.model.Dimension

public class Dimension
extends Object

Dimension


Constructor Summary
Dimension()
           
 
Method Summary
 String getName()
          Returns the value of the Name property for this object.
 String getValue()
          Returns the value of the Value property for this object.
 void setName(String name)
          Sets the value of the Name property for this object.
 void setValue(String value)
          Sets the value of the Value property for this object.
 String toString()
           
 Dimension withName(String name)
          Sets the value of the Name property for this object.
 Dimension withValue(String value)
          Sets the value of the Value property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dimension

public Dimension()
Method Detail

getName

public String getName()
Returns the value of the Name property for this object.

Returns:
The value of the Name property for this object.

setName

public void setName(String name)
Sets the value of the Name property for this object.

Parameters:
name - The new value for the Name property for this object.

withName

public Dimension withName(String name)
Sets the value of the Name property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The new value for the Name property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getValue

public String getValue()
Returns the value of the Value property for this object.

Returns:
The value of the Value property for this object.

setValue

public void setValue(String value)
Sets the value of the Value property for this object.

Parameters:
value - The new value for the Value property for this object.

withValue

public Dimension withValue(String value)
Sets the value of the Value property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
value - The new value for the Value property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.