@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentTarget extends Object implements Serializable, Cloneable, StructuredPojo
Defines the criteria of assessment.
Constructor and Description |
---|
AssessmentTarget() |
Modifier and Type | Method and Description |
---|---|
AssessmentTarget |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
Condition of an assessment.
|
String |
getName()
Name of an assessment.
|
List<String> |
getValues()
Values of an assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCondition(String condition)
Condition of an assessment.
|
void |
setName(String name)
Name of an assessment.
|
void |
setValues(Collection<String> values)
Values of an assessment.
|
String |
toString()
Returns a string representation of this object.
|
AssessmentTarget |
withCondition(Condition condition)
Condition of an assessment.
|
AssessmentTarget |
withCondition(String condition)
Condition of an assessment.
|
AssessmentTarget |
withName(String name)
Name of an assessment.
|
AssessmentTarget |
withValues(Collection<String> values)
Values of an assessment.
|
AssessmentTarget |
withValues(String... values)
Values of an assessment.
|
public void setCondition(String condition)
Condition of an assessment.
condition
- Condition of an assessment.Condition
public String getCondition()
Condition of an assessment.
Condition
public AssessmentTarget withCondition(String condition)
Condition of an assessment.
condition
- Condition of an assessment.Condition
public AssessmentTarget withCondition(Condition condition)
Condition of an assessment.
condition
- Condition of an assessment.Condition
public void setName(String name)
Name of an assessment.
name
- Name of an assessment.public String getName()
Name of an assessment.
public AssessmentTarget withName(String name)
Name of an assessment.
name
- Name of an assessment.public List<String> getValues()
Values of an assessment.
public void setValues(Collection<String> values)
Values of an assessment.
values
- Values of an assessment.public AssessmentTarget withValues(String... values)
Values of an assessment.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- Values of an assessment.public AssessmentTarget withValues(Collection<String> values)
Values of an assessment.
values
- Values of an assessment.public String toString()
toString
in class Object
Object.toString()
public AssessmentTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.