@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Attribute()
Default constructor for Attribute object.
|
Attribute(String name,
String value)
Constructs a new Attribute object.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
String |
getAlternateNameEncoding() |
String |
getAlternateValueEncoding() |
String |
getName()
The name of the attribute.
|
String |
getValue()
The value of the attribute.
|
int |
hashCode() |
void |
setAlternateNameEncoding(String alternateNameEncoding) |
void |
setAlternateValueEncoding(String alternateValueEncoding) |
void |
setName(String name)
The name of the attribute.
|
void |
setValue(String value)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Attribute |
withAlternateNameEncoding(String alternateNameEncoding) |
Attribute |
withAlternateValueEncoding(String alternateValueEncoding) |
Attribute |
withName(String name)
The name of the attribute.
|
Attribute |
withValue(String value)
The value of the attribute.
|
public Attribute()
public void setName(String name)
name
- The name of the attribute.public String getName()
public Attribute withName(String name)
name
- The name of the attribute.public void setAlternateNameEncoding(String alternateNameEncoding)
alternateNameEncoding
- public String getAlternateNameEncoding()
public Attribute withAlternateNameEncoding(String alternateNameEncoding)
alternateNameEncoding
- public void setValue(String value)
value
- The value of the attribute.public String getValue()
public Attribute withValue(String value)
value
- The value of the attribute.public void setAlternateValueEncoding(String alternateValueEncoding)
alternateValueEncoding
- public String getAlternateValueEncoding()
public Attribute withAlternateValueEncoding(String alternateValueEncoding)
alternateValueEncoding
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.