Interface UpdateAssessmentRequest.Builder
-
- All Superinterfaces:
AuditManagerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAssessmentRequest.Builder,UpdateAssessmentRequest>,SdkBuilder<UpdateAssessmentRequest.Builder,UpdateAssessmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAssessmentRequest
public static interface UpdateAssessmentRequest.Builder extends AuditManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateAssessmentRequest.Builder,UpdateAssessmentRequest>
-
-
Method Summary
-
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 Detail
-
assessmentId
UpdateAssessmentRequest.Builder assessmentId(String 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
UpdateAssessmentRequest.Builder assessmentName(String 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
UpdateAssessmentRequest.Builder assessmentDescription(String 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
UpdateAssessmentRequest.Builder scope(Scope 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
default UpdateAssessmentRequest.Builder scope(Consumer<Scope.Builder> 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:
scope(Scope)
-
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:
assessmentReportsDestination(AssessmentReportsDestination)
-
roles
UpdateAssessmentRequest.Builder roles(Collection<Role> 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
UpdateAssessmentRequest.Builder roles(Role... 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
UpdateAssessmentRequest.Builder roles(Consumer<Role.Builder>... 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 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)
-
overrideConfiguration
UpdateAssessmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAssessmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-