public class UpdateDimensionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
| Constructor and Description | 
|---|
| UpdateDimensionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getName()
 A unique identifier for the dimension. | 
| java.util.List<java.lang.String> | getStringValues()
 Specifies the value or list of values for the dimension. | 
| int | hashCode() | 
| void | setName(java.lang.String name)
 A unique identifier for the dimension. | 
| void | setStringValues(java.util.Collection<java.lang.String> stringValues)
 Specifies the value or list of values for the dimension. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| UpdateDimensionRequest | withName(java.lang.String name)
 A unique identifier for the dimension. | 
| UpdateDimensionRequest | withStringValues(java.util.Collection<java.lang.String> stringValues)
 Specifies the value or list of values for the dimension. | 
| UpdateDimensionRequest | withStringValues(java.lang.String... stringValues)
 Specifies the value or list of values for the dimension. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getName()
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
public void setName(java.lang.String name)
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
name - A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
public UpdateDimensionRequest withName(java.lang.String name)
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
name - A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
public java.util.List<java.lang.String> getStringValues()
 Specifies the value or list of values for the dimension. For
 TOPIC_FILTER dimensions, this is a pattern used to match the
 MQTT topic (for example, "admin/#").
 
         Specifies the value or list of values for the dimension. For
         TOPIC_FILTER dimensions, this is a pattern used to
         match the MQTT topic (for example, "admin/#").
         
public void setStringValues(java.util.Collection<java.lang.String> stringValues)
 Specifies the value or list of values for the dimension. For
 TOPIC_FILTER dimensions, this is a pattern used to match the
 MQTT topic (for example, "admin/#").
 
stringValues - 
            Specifies the value or list of values for the dimension. For
            TOPIC_FILTER dimensions, this is a pattern used
            to match the MQTT topic (for example, "admin/#").
            
public UpdateDimensionRequest withStringValues(java.lang.String... stringValues)
 Specifies the value or list of values for the dimension. For
 TOPIC_FILTER dimensions, this is a pattern used to match the
 MQTT topic (for example, "admin/#").
 
Returns a reference to this object so that method calls can be chained together.
stringValues - 
            Specifies the value or list of values for the dimension. For
            TOPIC_FILTER dimensions, this is a pattern used
            to match the MQTT topic (for example, "admin/#").
            
public UpdateDimensionRequest withStringValues(java.util.Collection<java.lang.String> stringValues)
 Specifies the value or list of values for the dimension. For
 TOPIC_FILTER dimensions, this is a pattern used to match the
 MQTT topic (for example, "admin/#").
 
Returns a reference to this object so that method calls can be chained together.
stringValues - 
            Specifies the value or list of values for the dimension. For
            TOPIC_FILTER dimensions, this is a pattern used
            to match the MQTT topic (for example, "admin/#").
            
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.