Class Attribute
java.lang.Object
com.amazonaws.services.inspector.model.Attribute
- All Implemented Interfaces:
Serializable
,Cloneable
This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getKey()
The attribute key.getValue()
The value assigned to the attribute key.int
hashCode()
void
The attribute key.void
The value assigned to the attribute key.toString()
Returns a string representation of this object; useful for testing and debugging.The attribute key.The value assigned to the attribute key.
-
Constructor Details
-
Attribute
public Attribute()
-
-
Method Details
-
setKey
The attribute key.
- Parameters:
key
- The attribute key.
-
getKey
The attribute key.
- Returns:
- The attribute key.
-
withKey
The attribute key.
- Parameters:
key
- The attribute key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value assigned to the attribute key.
- Parameters:
value
- The value assigned to the attribute key.
-
getValue
The value assigned to the attribute key.
- Returns:
- The value assigned to the attribute key.
-
withValue
The value assigned to the attribute key.
- Parameters:
value
- The value assigned to the attribute key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-