public class DescribeDimensionResult extends Object implements Serializable
| Constructor and Description |
|---|
DescribeDimensionResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArn()
The ARN (Amazon resource name) 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 ARN (Amazon resource name) 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(DimensionType type)
The type of the dimension.
|
void |
setType(String type)
The type of the dimension.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDimensionResult |
withArn(String arn)
The ARN (Amazon resource name) 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.
|
public String getName()
The unique identifier for the dimension.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The unique identifier for the dimension.
public void setName(String name)
The unique identifier for the dimension.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
name - The unique identifier for the dimension.
public DescribeDimensionResult withName(String name)
The unique identifier for the dimension.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
name - The unique identifier for the dimension.
public String getArn()
The ARN (Amazon resource name) for the dimension.
The ARN (Amazon resource name) for the dimension.
public void setArn(String arn)
The ARN (Amazon resource name) for the dimension.
arn - The ARN (Amazon resource name) for the dimension.
public DescribeDimensionResult withArn(String arn)
The ARN (Amazon resource name) for the dimension.
Returns a reference to this object so that method calls can be chained together.
arn - The ARN (Amazon resource name) for the dimension.
public String getType()
The type of the dimension.
Constraints:
Allowed Values: TOPIC_FILTER
The type of the dimension.
DimensionTypepublic void setType(String type)
The type of the dimension.
Constraints:
Allowed Values: TOPIC_FILTER
type - The type of the dimension.
DimensionTypepublic DescribeDimensionResult withType(String type)
The type of the dimension.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TOPIC_FILTER
type - The type of the dimension.
DimensionTypepublic void setType(DimensionType type)
The type of the dimension.
Constraints:
Allowed Values: TOPIC_FILTER
type - The type of the dimension.
DimensionTypepublic DescribeDimensionResult withType(DimensionType type)
The type of the dimension.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TOPIC_FILTER
type - The type of the dimension.
DimensionTypepublic 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.
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.
Returns a reference to this object so that method calls can be chained together.
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.
Returns a reference to this object so that method calls can be chained together.
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 Date getCreationDate()
The date the dimension was created.
The date the dimension was created.
public void setCreationDate(Date creationDate)
The date the dimension was created.
creationDate - The date the dimension was created.
public DescribeDimensionResult withCreationDate(Date creationDate)
The date the dimension was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The date the dimension was created.
public Date getLastModifiedDate()
The date the dimension was last modified.
The date the dimension was last modified.
public void setLastModifiedDate(Date lastModifiedDate)
The date the dimension was last modified.
lastModifiedDate - The date the dimension was last modified.
public DescribeDimensionResult withLastModifiedDate(Date lastModifiedDate)
The date the dimension was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date the dimension was last modified.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.