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 specified assessment that is being created.
|
default CreateAssessmentRequest.Builder |
assessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is 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 specified framework.
|
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 specified assessment.
|
CreateAssessmentRequest.Builder |
roles(Consumer<Role.Builder>... roles)
The list of roles for the specified assessment.
|
CreateAssessmentRequest.Builder |
roles(Role... roles)
The list of roles for the specified 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 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 specified assessment that is being created.
assessmentReportsDestination - The assessment report storage destination for the specified assessment that is being created.default CreateAssessmentRequest.Builder assessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being created.
This is a convenience 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 specified assessment.
roles - The list of roles for the specified assessment.CreateAssessmentRequest.Builder roles(Role... roles)
The list of roles for the specified assessment.
roles - The list of roles for the specified assessment.CreateAssessmentRequest.Builder roles(Consumer<Role.Builder>... roles)
The list of roles for the specified assessment.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #roles(List) .roles - a consumer that will call methods on List.Builder #roles(List) CreateAssessmentRequest.Builder frameworkId(String frameworkId)
The identifier for the specified framework.
frameworkId - The identifier for the specified framework.CreateAssessmentRequest.Builder tags(Map<String,String> tags)
The tags associated with the assessment.
tags - The tags 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 © 2021. All rights reserved.