public class Attribute extends Object implements Serializable, Cloneable
This data type is used as a response element in the AddAttributesToFindings action and a request parameter in the CreateAssessment action.
| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The attribute key.
|
String |
getValue()
The value assigned to the attribute key.
|
int |
hashCode() |
void |
setKey(String key)
The attribute key.
|
void |
setValue(String value)
The value assigned to the attribute key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Attribute |
withKey(String key)
The attribute key.
|
Attribute |
withValue(String value)
The value assigned to the attribute key.
|
public void setKey(String key)
The attribute key.
key - The attribute key.public String getKey()
The attribute key.
public Attribute withKey(String key)
The attribute key.
key - The attribute key.public void setValue(String value)
The value assigned to the attribute key.
value - The value assigned to the attribute key.public String getValue()
The value assigned to the attribute key.
public Attribute withValue(String value)
The value assigned to the attribute key.
value - The value assigned to the attribute key.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.