@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Control extends Object implements Serializable, Cloneable, StructuredPojo
A control in Audit Manager.
Constructor and Description |
---|
Control() |
Modifier and Type | Method and Description |
---|---|
Control |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Control |
clearTagsEntries()
Removes all the entries added into Tags.
|
Control |
clone() |
boolean |
equals(Object obj) |
String |
getActionPlanInstructions()
The recommended actions to carry out if the control isn't fulfilled.
|
String |
getActionPlanTitle()
The title of the action plan for remediating the control.
|
String |
getArn()
The Amazon Resource Name (ARN) of the control.
|
List<ControlMappingSource> |
getControlMappingSources()
The data mapping sources for the control.
|
String |
getControlSources()
The data source types that determine where Audit Manager collects evidence from for the control.
|
Date |
getCreatedAt()
The time when the control was created.
|
String |
getCreatedBy()
The IAM user or role that created the control.
|
String |
getDescription()
The description of the control.
|
String |
getId()
The unique identifier for the control.
|
Date |
getLastUpdatedAt()
The time when the control was most recently updated.
|
String |
getLastUpdatedBy()
The IAM user or role that most recently updated the control.
|
String |
getName()
The name of the control.
|
Map<String,String> |
getTags()
The tags associated with the control.
|
String |
getTestingInformation()
The steps that you should follow to determine if the control has been satisfied.
|
String |
getType()
The type of control, such as a custom control or a standard control.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control isn't fulfilled.
|
void |
setActionPlanTitle(String actionPlanTitle)
The title of the action plan for remediating the control.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the control.
|
void |
setControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the control.
|
void |
setControlSources(String controlSources)
The data source types that determine where Audit Manager collects evidence from for the control.
|
void |
setCreatedAt(Date createdAt)
The time when the control was created.
|
void |
setCreatedBy(String createdBy)
The IAM user or role that created the control.
|
void |
setDescription(String description)
The description of the control.
|
void |
setId(String id)
The unique identifier for the control.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time when the control was most recently updated.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
The IAM user or role that most recently updated the control.
|
void |
setName(String name)
The name of the control.
|
void |
setTags(Map<String,String> tags)
The tags associated with the control.
|
void |
setTestingInformation(String testingInformation)
The steps that you should follow to determine if the control has been satisfied.
|
void |
setType(String type)
The type of control, such as a custom control or a standard control.
|
String |
toString()
Returns a string representation of this object.
|
Control |
withActionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control isn't fulfilled.
|
Control |
withActionPlanTitle(String actionPlanTitle)
The title of the action plan for remediating the control.
|
Control |
withArn(String arn)
The Amazon Resource Name (ARN) of the control.
|
Control |
withControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the control.
|
Control |
withControlMappingSources(ControlMappingSource... controlMappingSources)
The data mapping sources for the control.
|
Control |
withControlSources(String controlSources)
The data source types that determine where Audit Manager collects evidence from for the control.
|
Control |
withCreatedAt(Date createdAt)
The time when the control was created.
|
Control |
withCreatedBy(String createdBy)
The IAM user or role that created the control.
|
Control |
withDescription(String description)
The description of the control.
|
Control |
withId(String id)
The unique identifier for the control.
|
Control |
withLastUpdatedAt(Date lastUpdatedAt)
The time when the control was most recently updated.
|
Control |
withLastUpdatedBy(String lastUpdatedBy)
The IAM user or role that most recently updated the control.
|
Control |
withName(String name)
The name of the control.
|
Control |
withTags(Map<String,String> tags)
The tags associated with the control.
|
Control |
withTestingInformation(String testingInformation)
The steps that you should follow to determine if the control has been satisfied.
|
Control |
withType(ControlType type)
The type of control, such as a custom control or a standard control.
|
Control |
withType(String type)
The type of control, such as a custom control or a standard control.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the control.
arn
- The Amazon Resource Name (ARN) of the control.public String getArn()
The Amazon Resource Name (ARN) of the control.
public Control withArn(String arn)
The Amazon Resource Name (ARN) of the control.
arn
- The Amazon Resource Name (ARN) of the control.public void setId(String id)
The unique identifier for the control.
id
- The unique identifier for the control.public String getId()
The unique identifier for the control.
public Control withId(String id)
The unique identifier for the control.
id
- The unique identifier for the control.public void setType(String type)
The type of control, such as a custom control or a standard control.
type
- The type of control, such as a custom control or a standard control.ControlType
public String getType()
The type of control, such as a custom control or a standard control.
ControlType
public Control withType(String type)
The type of control, such as a custom control or a standard control.
type
- The type of control, such as a custom control or a standard control.ControlType
public Control withType(ControlType type)
The type of control, such as a custom control or a standard control.
type
- The type of control, such as a custom control or a standard control.ControlType
public void setName(String name)
The name of the control.
name
- The name of the control.public String getName()
The name of the control.
public Control withName(String name)
The name of the control.
name
- The name of the control.public void setDescription(String description)
The description of the control.
description
- The description of the control.public String getDescription()
The description of the control.
public Control withDescription(String description)
The description of the control.
description
- The description of the control.public void setTestingInformation(String testingInformation)
The steps that you should follow to determine if the control has been satisfied.
testingInformation
- The steps that you should follow to determine if the control has been satisfied.public String getTestingInformation()
The steps that you should follow to determine if the control has been satisfied.
public Control withTestingInformation(String testingInformation)
The steps that you should follow to determine if the control has been satisfied.
testingInformation
- The steps that you should follow to determine if the control has been satisfied.public void setActionPlanTitle(String actionPlanTitle)
The title of the action plan for remediating the control.
actionPlanTitle
- The title of the action plan for remediating the control.public String getActionPlanTitle()
The title of the action plan for remediating the control.
public Control withActionPlanTitle(String actionPlanTitle)
The title of the action plan for remediating the control.
actionPlanTitle
- The title of the action plan for remediating the control.public void setActionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control isn't fulfilled.
actionPlanInstructions
- The recommended actions to carry out if the control isn't fulfilled.public String getActionPlanInstructions()
The recommended actions to carry out if the control isn't fulfilled.
public Control withActionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control isn't fulfilled.
actionPlanInstructions
- The recommended actions to carry out if the control isn't fulfilled.public void setControlSources(String controlSources)
The data source types that determine where Audit Manager collects evidence from for the control.
controlSources
- The data source types that determine where Audit Manager collects evidence from for the control.public String getControlSources()
The data source types that determine where Audit Manager collects evidence from for the control.
public Control withControlSources(String controlSources)
The data source types that determine where Audit Manager collects evidence from for the control.
controlSources
- The data source types that determine where Audit Manager collects evidence from for the control.public List<ControlMappingSource> getControlMappingSources()
The data mapping sources for the control.
public void setControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the control.
controlMappingSources
- The data mapping sources for the control.public Control withControlMappingSources(ControlMappingSource... controlMappingSources)
The data mapping sources for the control.
NOTE: This method appends the values to the existing list (if any). Use
setControlMappingSources(java.util.Collection)
or
withControlMappingSources(java.util.Collection)
if you want to override the existing values.
controlMappingSources
- The data mapping sources for the control.public Control withControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the control.
controlMappingSources
- The data mapping sources for the control.public void setCreatedAt(Date createdAt)
The time when the control was created.
createdAt
- The time when the control was created.public Date getCreatedAt()
The time when the control was created.
public Control withCreatedAt(Date createdAt)
The time when the control was created.
createdAt
- The time when the control was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The time when the control was most recently updated.
lastUpdatedAt
- The time when the control was most recently updated.public Date getLastUpdatedAt()
The time when the control was most recently updated.
public Control withLastUpdatedAt(Date lastUpdatedAt)
The time when the control was most recently updated.
lastUpdatedAt
- The time when the control was most recently updated.public void setCreatedBy(String createdBy)
The IAM user or role that created the control.
createdBy
- The IAM user or role that created the control.public String getCreatedBy()
The IAM user or role that created the control.
public Control withCreatedBy(String createdBy)
The IAM user or role that created the control.
createdBy
- The IAM user or role that created the control.public void setLastUpdatedBy(String lastUpdatedBy)
The IAM user or role that most recently updated the control.
lastUpdatedBy
- The IAM user or role that most recently updated the control.public String getLastUpdatedBy()
The IAM user or role that most recently updated the control.
public Control withLastUpdatedBy(String lastUpdatedBy)
The IAM user or role that most recently updated the control.
lastUpdatedBy
- The IAM user or role that most recently updated the control.public Map<String,String> getTags()
The tags associated with the control.
public void setTags(Map<String,String> tags)
The tags associated with the control.
tags
- The tags associated with the control.public Control withTags(Map<String,String> tags)
The tags associated with the control.
tags
- The tags associated with the control.public Control clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.