Interface Control.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Control.Builder,Control>,SdkBuilder<Control.Builder,Control>,SdkPojo
- Enclosing class:
- Control
public static interface Control.Builder extends SdkPojo, CopyableBuilder<Control.Builder,Control>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Control.BuilderactionPlanInstructions(String actionPlanInstructions)The recommended actions to carry out if the control isn't fulfilled.Control.BuilderactionPlanTitle(String actionPlanTitle)The title of the action plan for remediating the control.Control.Builderarn(String arn)The Amazon Resource Name (ARN) of the control.Control.BuildercontrolMappingSources(Collection<ControlMappingSource> controlMappingSources)The data mapping sources for the control.Control.BuildercontrolMappingSources(Consumer<ControlMappingSource.Builder>... controlMappingSources)The data mapping sources for the control.Control.BuildercontrolMappingSources(ControlMappingSource... controlMappingSources)The data mapping sources for the control.Control.BuildercontrolSources(String controlSources)The data source types that determine where Audit Manager collects evidence from for the control.Control.BuildercreatedAt(Instant createdAt)The time when the control was created.Control.BuildercreatedBy(String createdBy)The user or role that created the control.Control.Builderdescription(String description)The description of the control.Control.Builderid(String id)The unique identifier for the control.Control.BuilderlastUpdatedAt(Instant lastUpdatedAt)The time when the control was most recently updated.Control.BuilderlastUpdatedBy(String lastUpdatedBy)The user or role that most recently updated the control.Control.Buildername(String name)The name of the control.Control.Builderstate(String state)The state of the control.Control.Builderstate(ControlState state)The state of the control.Control.Buildertags(Map<String,String> tags)The tags associated with the control.Control.BuildertestingInformation(String testingInformation)The steps that you should follow to determine if the control has been satisfied.Control.Buildertype(String type)Specifies whether the control is a standard control or a custom control.Control.Buildertype(ControlType type)Specifies whether the control is a standard control or a custom control.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
Control.Builder arn(String arn)
The Amazon Resource Name (ARN) of the control.
- Parameters:
arn- The Amazon Resource Name (ARN) of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
Control.Builder id(String id)
The unique identifier for the control.
- Parameters:
id- The unique identifier for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Control.Builder type(String type)
Specifies whether the control is a standard control or a custom control.
- Parameters:
type- Specifies whether the control is a standard control or a custom control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlType,ControlType
-
type
Control.Builder type(ControlType type)
Specifies whether the control is a standard control or a custom control.
- Parameters:
type- Specifies whether the control is a standard control or a custom control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlType,ControlType
-
name
Control.Builder name(String name)
The name of the control.
- Parameters:
name- The name of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Control.Builder description(String description)
The description of the control.
- Parameters:
description- The description of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testingInformation
Control.Builder testingInformation(String testingInformation)
The steps that you should follow to determine if the control has been satisfied.
- Parameters:
testingInformation- The steps that you should follow to determine if the control has been satisfied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionPlanTitle
Control.Builder actionPlanTitle(String actionPlanTitle)
The title of the action plan for remediating the control.
- Parameters:
actionPlanTitle- The title of the action plan for remediating the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionPlanInstructions
Control.Builder actionPlanInstructions(String actionPlanInstructions)
The recommended actions to carry out if the control isn't fulfilled.
- Parameters:
actionPlanInstructions- The recommended actions to carry out if the control isn't fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSources
Control.Builder controlSources(String controlSources)
The data source types that determine where Audit Manager collects evidence from for the control.
- Parameters:
controlSources- The data source types that determine where Audit Manager collects evidence from for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappingSources
Control.Builder controlMappingSources(Collection<ControlMappingSource> controlMappingSources)
The data mapping sources for the control.
- Parameters:
controlMappingSources- The data mapping sources for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappingSources
Control.Builder controlMappingSources(ControlMappingSource... controlMappingSources)
The data mapping sources for the control.
- Parameters:
controlMappingSources- The data mapping sources for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappingSources
Control.Builder controlMappingSources(Consumer<ControlMappingSource.Builder>... controlMappingSources)
The data mapping sources for the control.
This is a convenience method that creates an instance of theControlMappingSource.Builderavoiding the need to create one manually viaControlMappingSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#controlMappingSources(List.) - Parameters:
controlMappingSources- a consumer that will call methods onControlMappingSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#controlMappingSources(java.util.Collection)
-
createdAt
Control.Builder createdAt(Instant createdAt)
The time when the control was created.
- Parameters:
createdAt- The time when the control was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Control.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time when the control was most recently updated.
- Parameters:
lastUpdatedAt- The time when the control was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Control.Builder createdBy(String createdBy)
The user or role that created the control.
- Parameters:
createdBy- The user or role that created the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
Control.Builder lastUpdatedBy(String lastUpdatedBy)
The user or role that most recently updated the control.
- Parameters:
lastUpdatedBy- The user or role that most recently updated the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Control.Builder tags(Map<String,String> tags)
The tags associated with the control.
- Parameters:
tags- The tags associated with the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Control.Builder state(String state)
The state of the control. The
END_OF_SUPPORTstate is applicable to standard controls only. This state indicates that the standard control can still be used to collect evidence, but Audit Manager is no longer updating or maintaining that control.- Parameters:
state- The state of the control. TheEND_OF_SUPPORTstate is applicable to standard controls only. This state indicates that the standard control can still be used to collect evidence, but Audit Manager is no longer updating or maintaining that control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlState,ControlState
-
state
Control.Builder state(ControlState state)
The state of the control. The
END_OF_SUPPORTstate is applicable to standard controls only. This state indicates that the standard control can still be used to collect evidence, but Audit Manager is no longer updating or maintaining that control.- Parameters:
state- The state of the control. TheEND_OF_SUPPORTstate is applicable to standard controls only. This state indicates that the standard control can still be used to collect evidence, but Audit Manager is no longer updating or maintaining that control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlState,ControlState
-
-