@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlSet extends Object implements Serializable, Cloneable, StructuredPojo
A set of controls in Audit Manager.
| Constructor and Description | 
|---|
| ControlSet() | 
| Modifier and Type | Method and Description | 
|---|---|
| ControlSet | clone() | 
| boolean | equals(Object obj) | 
| List<Control> | getControls()
 The list of controls within the control set. | 
| String | getId()
 The identifier of the control set in the assessment. | 
| String | getName()
 The name of the control set. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setControls(Collection<Control> controls)
 The list of controls within the control set. | 
| void | setId(String id)
 The identifier of the control set in the assessment. | 
| void | setName(String name)
 The name of the control set. | 
| String | toString()Returns a string representation of this object. | 
| ControlSet | withControls(Collection<Control> controls)
 The list of controls within the control set. | 
| ControlSet | withControls(Control... controls)
 The list of controls within the control set. | 
| ControlSet | withId(String id)
 The identifier of the control set in the assessment. | 
| ControlSet | withName(String name)
 The name of the control set. | 
public void setId(String id)
The identifier of the control set in the assessment. This is the control set name in a plain string format.
id - The identifier of the control set in the assessment. This is the control set name in a plain string
        format.public String getId()
The identifier of the control set in the assessment. This is the control set name in a plain string format.
public ControlSet withId(String id)
The identifier of the control set in the assessment. This is the control set name in a plain string format.
id - The identifier of the control set in the assessment. This is the control set name in a plain string
        format.public void setName(String name)
The name of the control set.
name - The name of the control set.public String getName()
The name of the control set.
public ControlSet withName(String name)
The name of the control set.
name - The name of the control set.public List<Control> getControls()
The list of controls within the control set.
public void setControls(Collection<Control> controls)
The list of controls within the control set.
controls - The list of controls within the control set.public ControlSet withControls(Control... controls)
The list of controls within the control set.
 NOTE: This method appends the values to the existing list (if any). Use
 setControls(java.util.Collection) or withControls(java.util.Collection) if you want to override
 the existing values.
 
controls - The list of controls within the control set.public ControlSet withControls(Collection<Control> controls)
The list of controls within the control set.
controls - The list of controls within the control set.public String toString()
toString in class ObjectObject.toString()public ControlSet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.