public static interface CreateAssessmentRequest.Builder extends AuditManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateAssessmentRequest.Builder,CreateAssessmentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAssessmentRequest.Builder |
assessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being created.
|
default CreateAssessmentRequest.Builder |
assessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination)
The assessment report storage destination for the assessment that's being created.
|
CreateAssessmentRequest.Builder |
description(String description)
The optional description of the assessment to be created.
|
CreateAssessmentRequest.Builder |
frameworkId(String frameworkId)
The identifier for the framework that the assessment will be created from.
|
CreateAssessmentRequest.Builder |
name(String name)
The name of the assessment to be created.
|
CreateAssessmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAssessmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateAssessmentRequest.Builder |
roles(Collection<Role> roles)
The list of roles for the assessment.
|
CreateAssessmentRequest.Builder |
roles(Consumer<Role.Builder>... roles)
The list of roles for the assessment.
|
CreateAssessmentRequest.Builder |
roles(Role... roles)
The list of roles for the assessment.
|
default CreateAssessmentRequest.Builder |
scope(Consumer<Scope.Builder> scope)
Sets the value of the Scope property for this object.
|
CreateAssessmentRequest.Builder |
scope(Scope scope)
Sets the value of the Scope property for this object.
|
CreateAssessmentRequest.Builder |
tags(Map<String,String> tags)
The tags that are associated with the assessment.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAssessmentRequest.Builder name(String name)
The name of the assessment to be created.
name - The name of the assessment to be created.CreateAssessmentRequest.Builder description(String description)
The optional description of the assessment to be created.
description - The optional description of the assessment to be created.CreateAssessmentRequest.Builder assessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being created.
assessmentReportsDestination - The assessment report storage destination for the assessment that's being created.default CreateAssessmentRequest.Builder assessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination)
The assessment report storage destination for the assessment that's being created.
This is a convenience method that creates an instance of theAssessmentReportsDestination.Builder
avoiding the need to create one manually via AssessmentReportsDestination.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to assessmentReportsDestination(AssessmentReportsDestination).
assessmentReportsDestination - a consumer that will call methods on AssessmentReportsDestination.BuilderassessmentReportsDestination(AssessmentReportsDestination)CreateAssessmentRequest.Builder scope(Scope scope)
scope - The new value for the Scope property for this object.default CreateAssessmentRequest.Builder scope(Consumer<Scope.Builder> scope)
Scope.Builder avoiding the need to
create one manually via Scope.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to scope(Scope).
scope - a consumer that will call methods on Scope.Builderscope(Scope)CreateAssessmentRequest.Builder roles(Collection<Role> roles)
The list of roles for the assessment.
roles - The list of roles for the assessment.CreateAssessmentRequest.Builder roles(Role... roles)
The list of roles for the assessment.
roles - The list of roles for the assessment.CreateAssessmentRequest.Builder roles(Consumer<Role.Builder>... 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 via Role.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #roles(List.
roles - a consumer that will call methods on
Role.Builder#roles(java.util.Collection) CreateAssessmentRequest.Builder frameworkId(String frameworkId)
The identifier for the framework that the assessment will be created from.
frameworkId - The identifier for the framework that the assessment will be created from.CreateAssessmentRequest.Builder tags(Map<String,String> tags)
The tags that are associated with the assessment.
tags - The tags that are associated with the assessment.CreateAssessmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAssessmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.