Interface CreateAssessmentRequest.Builder
-
- All Superinterfaces:
AuditManagerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateAssessmentRequest.Builder,CreateAssessmentRequest>,SdkBuilder<CreateAssessmentRequest.Builder,CreateAssessmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAssessmentRequest
public static interface CreateAssessmentRequest.Builder extends AuditManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateAssessmentRequest.Builder,CreateAssessmentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAssessmentRequest.BuilderassessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination)The assessment report storage destination for the assessment that's being created.CreateAssessmentRequest.BuilderassessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)The assessment report storage destination for the assessment that's being created.CreateAssessmentRequest.Builderdescription(String description)The optional description of the assessment to be created.CreateAssessmentRequest.BuilderframeworkId(String frameworkId)The identifier for the framework that the assessment will be created from.CreateAssessmentRequest.Buildername(String name)The name of the assessment to be created.CreateAssessmentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAssessmentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAssessmentRequest.Builderroles(Collection<Role> roles)The list of roles for the assessment.CreateAssessmentRequest.Builderroles(Consumer<Role.Builder>... roles)The list of roles for the assessment.CreateAssessmentRequest.Builderroles(Role... roles)The list of roles for the assessment.default CreateAssessmentRequest.Builderscope(Consumer<Scope.Builder> scope)Sets the value of the Scope property for this object.CreateAssessmentRequest.Builderscope(Scope scope)Sets the value of the Scope property for this object.CreateAssessmentRequest.Buildertags(Map<String,String> tags)The tags that are associated with 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 Detail
-
name
CreateAssessmentRequest.Builder name(String name)
The name of the assessment to be created.
- Parameters:
name- The name of the assessment to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateAssessmentRequest.Builder description(String description)
The optional description of the assessment to be created.
- Parameters:
description- The optional description of the assessment to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReportsDestination
CreateAssessmentRequest.Builder assessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being created.
- Parameters:
assessmentReportsDestination- The assessment report storage destination for the assessment that's being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReportsDestination
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.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)
-
scope
CreateAssessmentRequest.Builder scope(Scope scope)
Sets the value of the Scope property for this object.- Parameters:
scope- The new value for the Scope property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
default CreateAssessmentRequest.Builder scope(Consumer<Scope.Builder> scope)
Sets the value of the Scope property for this object. 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)
-
roles
CreateAssessmentRequest.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
CreateAssessmentRequest.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
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.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)
-
frameworkId
CreateAssessmentRequest.Builder frameworkId(String frameworkId)
The identifier for the framework that the assessment will be created from.
- Parameters:
frameworkId- The identifier for the framework that the assessment will be created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAssessmentRequest.Builder tags(Map<String,String> tags)
The tags that are associated with the assessment.
- Parameters:
tags- The tags that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAssessmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAssessmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-