Interface AssessmentControlSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentControlSet.Builder,AssessmentControlSet>,SdkBuilder<AssessmentControlSet.Builder,AssessmentControlSet>,SdkPojo
- Enclosing class:
- AssessmentControlSet
public static interface AssessmentControlSet.Builder extends SdkPojo, CopyableBuilder<AssessmentControlSet.Builder,AssessmentControlSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssessmentControlSet.Buildercontrols(Collection<AssessmentControl> controls)The list of controls that's contained with the control set.AssessmentControlSet.Buildercontrols(Consumer<AssessmentControl.Builder>... controls)The list of controls that's contained with the control set.AssessmentControlSet.Buildercontrols(AssessmentControl... controls)The list of controls that's contained with the control set.AssessmentControlSet.Builderdelegations(Collection<Delegation> delegations)The delegations that are associated with the control set.AssessmentControlSet.Builderdelegations(Consumer<Delegation.Builder>... delegations)The delegations that are associated with the control set.AssessmentControlSet.Builderdelegations(Delegation... delegations)The delegations that are associated with the control set.AssessmentControlSet.Builderdescription(String description)The description for the control set.AssessmentControlSet.Builderid(String id)The identifier of the control set in the assessment.AssessmentControlSet.BuildermanualEvidenceCount(Integer manualEvidenceCount)The total number of evidence objects that are uploaded manually to the control set.AssessmentControlSet.Builderroles(Collection<Role> roles)The roles that are associated with the control set.AssessmentControlSet.Builderroles(Consumer<Role.Builder>... roles)The roles that are associated with the control set.AssessmentControlSet.Builderroles(Role... roles)The roles that are associated with the control set.AssessmentControlSet.Builderstatus(String status)The current status of the control set.AssessmentControlSet.Builderstatus(ControlSetStatus status)The current status of the control set.AssessmentControlSet.BuildersystemEvidenceCount(Integer systemEvidenceCount)The total number of evidence objects that are retrieved automatically for the control set.-
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
-
id
AssessmentControlSet.Builder id(String id)
The identifier of the control set in the assessment. This is the control set name in a plain string format.
- Parameters:
id- The identifier of the control set in the assessment. This is the control set name in a plain string format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AssessmentControlSet.Builder description(String description)
The description for the control set.
- Parameters:
description- The description for the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AssessmentControlSet.Builder status(String status)
The current status of the control set.
- Parameters:
status- The current status of the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlSetStatus,ControlSetStatus
-
status
AssessmentControlSet.Builder status(ControlSetStatus status)
The current status of the control set.
- Parameters:
status- The current status of the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlSetStatus,ControlSetStatus
-
roles
AssessmentControlSet.Builder roles(Collection<Role> roles)
The roles that are associated with the control set.
- Parameters:
roles- The roles that are associated with the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
AssessmentControlSet.Builder roles(Role... roles)
The roles that are associated with the control set.
- Parameters:
roles- The roles that are associated with the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
AssessmentControlSet.Builder roles(Consumer<Role.Builder>... roles)
The roles that are associated with the control set.
This is a convenience method that creates an instance of theRole.Builderavoiding the need to create one manually viaRole.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#roles(List.) - Parameters:
roles- a consumer that will call methods onRole.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#roles(java.util.Collection)
-
controls
AssessmentControlSet.Builder controls(Collection<AssessmentControl> controls)
The list of controls that's contained with the control set.
- Parameters:
controls- The list of controls that's contained with the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
AssessmentControlSet.Builder controls(AssessmentControl... controls)
The list of controls that's contained with the control set.
- Parameters:
controls- The list of controls that's contained with the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
AssessmentControlSet.Builder controls(Consumer<AssessmentControl.Builder>... controls)
The list of controls that's contained with the control set.
This is a convenience method that creates an instance of theAssessmentControl.Builderavoiding the need to create one manually viaAssessmentControl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#controls(List.) - Parameters:
controls- a consumer that will call methods onAssessmentControl.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#controls(java.util.Collection)
-
delegations
AssessmentControlSet.Builder delegations(Collection<Delegation> delegations)
The delegations that are associated with the control set.
- Parameters:
delegations- The delegations that are associated with the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
AssessmentControlSet.Builder delegations(Delegation... delegations)
The delegations that are associated with the control set.
- Parameters:
delegations- The delegations that are associated with the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
AssessmentControlSet.Builder delegations(Consumer<Delegation.Builder>... delegations)
The delegations that are associated with the control set.
This is a convenience method that creates an instance of theDelegation.Builderavoiding the need to create one manually viaDelegation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#delegations(List.) - Parameters:
delegations- a consumer that will call methods onDelegation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#delegations(java.util.Collection)
-
systemEvidenceCount
AssessmentControlSet.Builder systemEvidenceCount(Integer systemEvidenceCount)
The total number of evidence objects that are retrieved automatically for the control set.
- Parameters:
systemEvidenceCount- The total number of evidence objects that are retrieved automatically for the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manualEvidenceCount
AssessmentControlSet.Builder manualEvidenceCount(Integer manualEvidenceCount)
The total number of evidence objects that are uploaded manually to the control set.
- Parameters:
manualEvidenceCount- The total number of evidence objects that are uploaded manually to the control set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-