@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Control extends Object implements Serializable, Cloneable, StructuredPojo
A control in AWS 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 is not fulfilled.
|
String |
getActionPlanTitle()
The title of the action plan for remediating the control.
|
String |
getArn()
The Amazon Resource Name (ARN) of the specified control.
|
List<ControlMappingSource> |
getControlMappingSources()
The data mapping sources for the specified control.
|
String |
getControlSources()
The data source that determines from where AWS Audit Manager collects evidence for the control.
|
Date |
getCreatedAt()
Specifies when the control was created.
|
String |
getCreatedBy()
The IAM user or role that created the control.
|
String |
getDescription()
The description of the specified control.
|
String |
getId()
The unique identifier for the control.
|
Date |
getLastUpdatedAt()
Specifies 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 specified control.
|
Map<String,String> |
getTags()
The tags associated with the control.
|
String |
getTestingInformation()
The steps to follow to determine if the control has been satisfied.
|
String |
getType()
The type of control, such as custom or standard.
|
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 is not 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 specified control.
|
void |
setControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the specified control.
|
void |
setControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
|
void |
setCreatedAt(Date createdAt)
Specifies 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 specified control.
|
void |
setId(String id)
The unique identifier for the control.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Specifies 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 specified control.
|
void |
setTags(Map<String,String> tags)
The tags associated with the control.
|
void |
setTestingInformation(String testingInformation)
The steps to follow to determine if the control has been satisfied.
|
void |
setType(String type)
The type of control, such as custom or standard.
|
String |
toString()
Returns a string representation of this object.
|
Control |
withActionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control is not 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 specified control.
|
Control |
withControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the specified control.
|
Control |
withControlMappingSources(ControlMappingSource... controlMappingSources)
The data mapping sources for the specified control.
|
Control |
withControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
|
Control |
withCreatedAt(Date createdAt)
Specifies 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 specified control.
|
Control |
withId(String id)
The unique identifier for the control.
|
Control |
withLastUpdatedAt(Date lastUpdatedAt)
Specifies 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 specified control.
|
Control |
withTags(Map<String,String> tags)
The tags associated with the control.
|
Control |
withTestingInformation(String testingInformation)
The steps to follow to determine if the control has been satisfied.
|
Control |
withType(ControlType type)
The type of control, such as custom or standard.
|
Control |
withType(String type)
The type of control, such as custom or standard.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the specified control.
arn
- The Amazon Resource Name (ARN) of the specified control.public String getArn()
The Amazon Resource Name (ARN) of the specified control.
public Control withArn(String arn)
The Amazon Resource Name (ARN) of the specified control.
arn
- The Amazon Resource Name (ARN) of the specified 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 custom or standard.
type
- The type of control, such as custom or standard.ControlType
public String getType()
The type of control, such as custom or standard.
ControlType
public Control withType(String type)
The type of control, such as custom or standard.
type
- The type of control, such as custom or standard.ControlType
public Control withType(ControlType type)
The type of control, such as custom or standard.
type
- The type of control, such as custom or standard.ControlType
public void setName(String name)
The name of the specified control.
name
- The name of the specified control.public String getName()
The name of the specified control.
public Control withName(String name)
The name of the specified control.
name
- The name of the specified control.public void setDescription(String description)
The description of the specified control.
description
- The description of the specified control.public String getDescription()
The description of the specified control.
public Control withDescription(String description)
The description of the specified control.
description
- The description of the specified control.public void setTestingInformation(String testingInformation)
The steps to follow to determine if the control has been satisfied.
testingInformation
- The steps to follow to determine if the control has been satisfied.public String getTestingInformation()
The steps to follow to determine if the control has been satisfied.
public Control withTestingInformation(String testingInformation)
The steps to follow to determine if the control has been satisfied.
testingInformation
- The steps to 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 is not fulfilled.
actionPlanInstructions
- The recommended actions to carry out if the control is not fulfilled.public String getActionPlanInstructions()
The recommended actions to carry out if the control is not fulfilled.
public Control withActionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control is not fulfilled.
actionPlanInstructions
- The recommended actions to carry out if the control is not fulfilled.public void setControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
controlSources
- The data source that determines from where AWS Audit Manager collects evidence for the control.public String getControlSources()
The data source that determines from where AWS Audit Manager collects evidence for the control.
public Control withControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
controlSources
- The data source that determines from where AWS Audit Manager collects evidence for the control.public List<ControlMappingSource> getControlMappingSources()
The data mapping sources for the specified control.
public void setControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the specified control.
controlMappingSources
- The data mapping sources for the specified control.public Control withControlMappingSources(ControlMappingSource... controlMappingSources)
The data mapping sources for the specified 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 specified control.public Control withControlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the specified control.
controlMappingSources
- The data mapping sources for the specified control.public void setCreatedAt(Date createdAt)
Specifies when the control was created.
createdAt
- Specifies when the control was created.public Date getCreatedAt()
Specifies when the control was created.
public Control withCreatedAt(Date createdAt)
Specifies when the control was created.
createdAt
- Specifies when the control was created.public void setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
lastUpdatedAt
- Specifies when the control was most recently updated.public Date getLastUpdatedAt()
Specifies when the control was most recently updated.
public Control withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
lastUpdatedAt
- Specifies 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.