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.BuilderassessmentReportsDestination(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.Builderscope(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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaScope.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAssessmentReportsDestination.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRole.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-