@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable, StructuredPojo
A signal that represents static information about the vehicle, such as engine type or manufacturing date.
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedValues()
A list of possible values an attribute can be assigned.
|
String |
getAssignedValue()
Deprecated.
|
String |
getComment()
A comment in addition to the description.
|
String |
getDataType()
The specified data type of the attribute.
|
String |
getDefaultValue()
The default value of the attribute.
|
String |
getDeprecationMessage()
The deprecation message for the node or the branch that was moved or deleted.
|
String |
getDescription()
A brief description of the attribute.
|
String |
getFullyQualifiedName()
The fully qualified name of the attribute.
|
Double |
getMax()
The specified possible maximum value of the attribute.
|
Double |
getMin()
The specified possible minimum value of the attribute.
|
String |
getUnit()
The scientific unit for the attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedValues(Collection<String> allowedValues)
A list of possible values an attribute can be assigned.
|
void |
setAssignedValue(String assignedValue)
Deprecated.
|
void |
setComment(String comment)
A comment in addition to the description.
|
void |
setDataType(String dataType)
The specified data type of the attribute.
|
void |
setDefaultValue(String defaultValue)
The default value of the attribute.
|
void |
setDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
|
void |
setDescription(String description)
A brief description of the attribute.
|
void |
setFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the attribute.
|
void |
setMax(Double max)
The specified possible maximum value of the attribute.
|
void |
setMin(Double min)
The specified possible minimum value of the attribute.
|
void |
setUnit(String unit)
The scientific unit for the attribute.
|
String |
toString()
Returns a string representation of this object.
|
Attribute |
withAllowedValues(Collection<String> allowedValues)
A list of possible values an attribute can be assigned.
|
Attribute |
withAllowedValues(String... allowedValues)
A list of possible values an attribute can be assigned.
|
Attribute |
withAssignedValue(String assignedValue)
Deprecated.
|
Attribute |
withComment(String comment)
A comment in addition to the description.
|
Attribute |
withDataType(NodeDataType dataType)
The specified data type of the attribute.
|
Attribute |
withDataType(String dataType)
The specified data type of the attribute.
|
Attribute |
withDefaultValue(String defaultValue)
The default value of the attribute.
|
Attribute |
withDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
|
Attribute |
withDescription(String description)
A brief description of the attribute.
|
Attribute |
withFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the attribute.
|
Attribute |
withMax(Double max)
The specified possible maximum value of the attribute.
|
Attribute |
withMin(Double min)
The specified possible minimum value of the attribute.
|
Attribute |
withUnit(String unit)
The scientific unit for the attribute.
|
public void setFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be
Vehicle.Body.Engine.Type
.
fullyQualifiedName
- The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be
Vehicle.Body.Engine.Type
.public String getFullyQualifiedName()
The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be
Vehicle.Body.Engine.Type
.
Vehicle.Body.Engine.Type
.public Attribute withFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be
Vehicle.Body.Engine.Type
.
fullyQualifiedName
- The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be
Vehicle.Body.Engine.Type
.public void setDataType(String dataType)
The specified data type of the attribute.
dataType
- The specified data type of the attribute.NodeDataType
public String getDataType()
The specified data type of the attribute.
NodeDataType
public Attribute withDataType(String dataType)
The specified data type of the attribute.
dataType
- The specified data type of the attribute.NodeDataType
public Attribute withDataType(NodeDataType dataType)
The specified data type of the attribute.
dataType
- The specified data type of the attribute.NodeDataType
public void setDescription(String description)
A brief description of the attribute.
description
- A brief description of the attribute.public String getDescription()
A brief description of the attribute.
public Attribute withDescription(String description)
A brief description of the attribute.
description
- A brief description of the attribute.public void setUnit(String unit)
The scientific unit for the attribute.
unit
- The scientific unit for the attribute.public String getUnit()
The scientific unit for the attribute.
public Attribute withUnit(String unit)
The scientific unit for the attribute.
unit
- The scientific unit for the attribute.public List<String> getAllowedValues()
A list of possible values an attribute can be assigned.
public void setAllowedValues(Collection<String> allowedValues)
A list of possible values an attribute can be assigned.
allowedValues
- A list of possible values an attribute can be assigned.public Attribute withAllowedValues(String... allowedValues)
A list of possible values an attribute can be assigned.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedValues(java.util.Collection)
or withAllowedValues(java.util.Collection)
if you want
to override the existing values.
allowedValues
- A list of possible values an attribute can be assigned.public Attribute withAllowedValues(Collection<String> allowedValues)
A list of possible values an attribute can be assigned.
allowedValues
- A list of possible values an attribute can be assigned.public void setMin(Double min)
The specified possible minimum value of the attribute.
min
- The specified possible minimum value of the attribute.public Double getMin()
The specified possible minimum value of the attribute.
public Attribute withMin(Double min)
The specified possible minimum value of the attribute.
min
- The specified possible minimum value of the attribute.public void setMax(Double max)
The specified possible maximum value of the attribute.
max
- The specified possible maximum value of the attribute.public Double getMax()
The specified possible maximum value of the attribute.
public Attribute withMax(Double max)
The specified possible maximum value of the attribute.
max
- The specified possible maximum value of the attribute.@Deprecated public void setAssignedValue(String assignedValue)
A specified value for the attribute.
assignedValue
- A specified value for the attribute.@Deprecated public String getAssignedValue()
A specified value for the attribute.
@Deprecated public Attribute withAssignedValue(String assignedValue)
A specified value for the attribute.
assignedValue
- A specified value for the attribute.public void setDefaultValue(String defaultValue)
The default value of the attribute.
defaultValue
- The default value of the attribute.public String getDefaultValue()
The default value of the attribute.
public Attribute withDefaultValue(String defaultValue)
The default value of the attribute.
defaultValue
- The default value of the attribute.public void setDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
deprecationMessage
- The deprecation message for the node or the branch that was moved or deleted.public String getDeprecationMessage()
The deprecation message for the node or the branch that was moved or deleted.
public Attribute withDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
deprecationMessage
- The deprecation message for the node or the branch that was moved or deleted.public void setComment(String comment)
A comment in addition to the description.
comment
- A comment in addition to the description.public String getComment()
A comment in addition to the description.
public Attribute withComment(String comment)
A comment in addition to the description.
comment
- A comment in addition to the description.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.