@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDimensionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDimensionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDimensionResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the dimension.
|
Date |
getCreationDate()
The date the dimension was created.
|
Date |
getLastModifiedDate()
The date the dimension was last modified.
|
String |
getName()
The unique identifier for the dimension.
|
List<String> |
getStringValues()
The value or list of values used to scope the dimension.
|
String |
getType()
The type of the dimension.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the dimension.
|
void |
setCreationDate(Date creationDate)
The date the dimension was created.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date the dimension was last modified.
|
void |
setName(String name)
The unique identifier for the dimension.
|
void |
setStringValues(Collection<String> stringValues)
The value or list of values used to scope the dimension.
|
void |
setType(String type)
The type of the dimension.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDimensionResult |
withArn(String arn)
The Amazon Resource Name (ARN) for the dimension.
|
DescribeDimensionResult |
withCreationDate(Date creationDate)
The date the dimension was created.
|
DescribeDimensionResult |
withLastModifiedDate(Date lastModifiedDate)
The date the dimension was last modified.
|
DescribeDimensionResult |
withName(String name)
The unique identifier for the dimension.
|
DescribeDimensionResult |
withStringValues(Collection<String> stringValues)
The value or list of values used to scope the dimension.
|
DescribeDimensionResult |
withStringValues(String... stringValues)
The value or list of values used to scope the dimension.
|
DescribeDimensionResult |
withType(DimensionType type)
The type of the dimension.
|
DescribeDimensionResult |
withType(String type)
The type of the dimension.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The unique identifier for the dimension.
name
- The unique identifier for the dimension.public String getName()
The unique identifier for the dimension.
public DescribeDimensionResult withName(String name)
The unique identifier for the dimension.
name
- The unique identifier for the dimension.public void setArn(String arn)
The Amazon Resource Name (ARN) for the dimension.
arn
- The Amazon Resource Name (ARN) for the dimension.public String getArn()
The Amazon Resource Name (ARN) for the dimension.
public DescribeDimensionResult withArn(String arn)
The Amazon Resource Name (ARN) for the dimension.
arn
- The Amazon Resource Name (ARN) for the dimension.public void setType(String type)
The type of the dimension.
type
- The type of the dimension.DimensionType
public String getType()
The type of the dimension.
DimensionType
public DescribeDimensionResult withType(String type)
The type of the dimension.
type
- The type of the dimension.DimensionType
public DescribeDimensionResult withType(DimensionType type)
The type of the dimension.
type
- The type of the dimension.DimensionType
public List<String> getStringValues()
The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.
public void setStringValues(Collection<String> stringValues)
The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.
stringValues
- The value or list of values used to scope the dimension. For example, for topic filters, this is the
pattern used to match the MQTT topic name.public DescribeDimensionResult withStringValues(String... stringValues)
The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.
NOTE: This method appends the values to the existing list (if any). Use
setStringValues(java.util.Collection)
or withStringValues(java.util.Collection)
if you want to
override the existing values.
stringValues
- The value or list of values used to scope the dimension. For example, for topic filters, this is the
pattern used to match the MQTT topic name.public DescribeDimensionResult withStringValues(Collection<String> stringValues)
The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.
stringValues
- The value or list of values used to scope the dimension. For example, for topic filters, this is the
pattern used to match the MQTT topic name.public void setCreationDate(Date creationDate)
The date the dimension was created.
creationDate
- The date the dimension was created.public Date getCreationDate()
The date the dimension was created.
public DescribeDimensionResult withCreationDate(Date creationDate)
The date the dimension was created.
creationDate
- The date the dimension was created.public void setLastModifiedDate(Date lastModifiedDate)
The date the dimension was last modified.
lastModifiedDate
- The date the dimension was last modified.public Date getLastModifiedDate()
The date the dimension was last modified.
public DescribeDimensionResult withLastModifiedDate(Date lastModifiedDate)
The date the dimension was last modified.
lastModifiedDate
- The date the dimension was last modified.public String toString()
toString
in class Object
Object.toString()
public DescribeDimensionResult clone()