Interface UpdateAssessmentRequest.Builder
- All Superinterfaces:
AuditManagerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAssessmentRequest.Builder,
,UpdateAssessmentRequest> SdkBuilder<UpdateAssessmentRequest.Builder,
,UpdateAssessmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAssessmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionassessmentDescription
(String assessmentDescription) The description of the assessment.assessmentId
(String assessmentId) The unique identifier for the assessment.assessmentName
(String assessmentName) The name of the assessment to be updated.default UpdateAssessmentRequest.Builder
assessmentReportsDestination
(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination) The assessment report storage destination for the assessment that's being updated.assessmentReportsDestination
(AssessmentReportsDestination assessmentReportsDestination) The assessment report storage destination for the assessment that's being updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.roles
(Collection<Role> roles) The list of roles for the assessment.roles
(Consumer<Role.Builder>... roles) The list of roles for the assessment.The list of roles for the assessment.default UpdateAssessmentRequest.Builder
scope
(Consumer<Scope.Builder> scope) The scope of the assessment.The scope of the assessment.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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 Details
-
assessmentId
The unique identifier for the assessment.
- Parameters:
assessmentId
- The unique identifier for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentName
The name of the assessment to be updated.
- Parameters:
assessmentName
- The name of the assessment to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentDescription
The description of the assessment.
- Parameters:
assessmentDescription
- The description of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the assessment.
- Parameters:
scope
- The scope of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the assessment.
This is a convenience method that creates an instance of theScope.Builder
avoiding the need to create one manually viaScope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscope(Scope)
.- Parameters:
scope
- a consumer that will call methods onScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentReportsDestination
UpdateAssessmentRequest.Builder assessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination) The assessment report storage destination for the assessment that's being updated.
- Parameters:
assessmentReportsDestination
- The assessment report storage destination for the assessment that's being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReportsDestination
default UpdateAssessmentRequest.Builder assessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination) The assessment report storage destination for the assessment that's being updated.
This is a convenience method that creates an instance of theAssessmentReportsDestination.Builder
avoiding the need to create one manually viaAssessmentReportsDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassessmentReportsDestination(AssessmentReportsDestination)
.- Parameters:
assessmentReportsDestination
- a consumer that will call methods onAssessmentReportsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roles
The list of roles for the assessment.
- Parameters:
roles
- The list of roles for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
The list of roles for the assessment.
- Parameters:
roles
- The list of roles for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
The list of roles for the assessment.
This is a convenience method that creates an instance of theRole.Builder
avoiding the need to create one manually viaRole.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroles(List<Role>)
.- 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:
-
overrideConfiguration
UpdateAssessmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAssessmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-