@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used in the ImageScanFinding data type.
| 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.