public class DescribeDimensionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeDimensionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) for the dimension.
|
java.util.Date |
getCreationDate()
The date the dimension was created.
|
java.util.Date |
getLastModifiedDate()
The date the dimension was last modified.
|
java.lang.String |
getName()
The unique identifier for the dimension.
|
java.util.List<java.lang.String> |
getStringValues()
The value or list of values used to scope the dimension.
|
java.lang.String |
getType()
The type of the dimension.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the dimension.
|
void |
setCreationDate(java.util.Date creationDate)
The date the dimension was created.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date the dimension was last modified.
|
void |
setName(java.lang.String name)
The unique identifier for the dimension.
|
void |
setStringValues(java.util.Collection<java.lang.String> stringValues)
The value or list of values used to scope the dimension.
|
void |
setType(DimensionType type)
The type of the dimension.
|
void |
setType(java.lang.String type)
The type of the dimension.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDimensionResult |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the dimension.
|
DescribeDimensionResult |
withCreationDate(java.util.Date creationDate)
The date the dimension was created.
|
DescribeDimensionResult |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date the dimension was last modified.
|
DescribeDimensionResult |
withName(java.lang.String name)
The unique identifier for the dimension.
|
DescribeDimensionResult |
withStringValues(java.util.Collection<java.lang.String> stringValues)
The value or list of values used to scope the dimension.
|
DescribeDimensionResult |
withStringValues(java.lang.String... stringValues)
The value or list of values used to scope the dimension.
|
DescribeDimensionResult |
withType(DimensionType type)
The type of the dimension.
|
DescribeDimensionResult |
withType(java.lang.String type)
The type of the dimension.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getArn()
The Amazon Resource Name (ARN) for the dimension.
The Amazon Resource Name (ARN) for the dimension.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the dimension.
arn
- The Amazon Resource Name (ARN) for the dimension.
public DescribeDimensionResult withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the dimension.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) for the dimension.
public java.lang.String getType()
The type of the dimension.
Constraints:
Allowed Values: TOPIC_FILTER
The type of the dimension.
DimensionType
public void setType(java.lang.String type)
The type of the dimension.
Constraints:
Allowed Values: TOPIC_FILTER
type
- The type of the dimension.
DimensionType
public DescribeDimensionResult withType(java.lang.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.
DimensionType
public void setType(DimensionType type)
The type of the dimension.
Constraints:
Allowed Values: TOPIC_FILTER
type
- The type of the dimension.
DimensionType
public 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.
DimensionType
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.Date getCreationDate()
The date the dimension was created.
The date the dimension was created.
public void setCreationDate(java.util.Date creationDate)
The date the dimension was created.
creationDate
- The date the dimension was created.
public DescribeDimensionResult withCreationDate(java.util.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 java.util.Date getLastModifiedDate()
The date the dimension was last modified.
The date the dimension was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date the dimension was last modified.
lastModifiedDate
- The date the dimension was last modified.
public DescribeDimensionResult withLastModifiedDate(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.