public class UpdateDimensionRequest extends AmazonWebServiceRequest implements Serializable
Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and re-create it).
| Constructor and Description |
|---|
UpdateDimensionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
A unique identifier for the dimension.
|
List<String> |
getStringValues()
Specifies the value or list of values for the dimension.
|
int |
hashCode() |
void |
setName(String name)
A unique identifier for the dimension.
|
void |
setStringValues(Collection<String> stringValues)
Specifies the value or list of values for the dimension.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDimensionRequest |
withName(String name)
A unique identifier for the dimension.
|
UpdateDimensionRequest |
withStringValues(Collection<String> stringValues)
Specifies the value or list of values for the dimension.
|
UpdateDimensionRequest |
withStringValues(String... stringValues)
Specifies the value or list of values for the dimension.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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(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(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 List<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(Collection<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(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(Collection<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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.