Interface AssessmentMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentMetadata.Builder,,AssessmentMetadata> SdkBuilder<AssessmentMetadata.Builder,,AssessmentMetadata> SdkPojo
- Enclosing class:
AssessmentMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssessmentMetadata.BuilderassessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.assessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.complianceType(String complianceType) The name of the compliance standard that's related to the assessment, such as PCI-DSS.creationTime(Instant creationTime) Specifies when the assessment was created.delegations(Collection<Delegation> delegations) The delegations that are associated with the assessment.delegations(Consumer<Delegation.Builder>... delegations) The delegations that are associated with the assessment.delegations(Delegation... delegations) The delegations that are associated with the assessment.description(String description) The description of the assessment.The unique identifier for the assessment.lastUpdated(Instant lastUpdated) The time of the most recent update.The name of the assessment.roles(Collection<Role> roles) The roles that are associated with the assessment.roles(Consumer<Role.Builder>... roles) The roles that are associated with the assessment.The roles that are associated with the assessment.default AssessmentMetadata.Builderscope(Consumer<Scope.Builder> scope) The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.The overall status of the assessment.status(AssessmentStatus status) The overall status of the assessment.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the assessment.
- Parameters:
name- The name of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the assessment.
- Parameters:
id- The unique identifier for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the assessment.
- Parameters:
description- The description of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceType
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
- Parameters:
complianceType- The name of the compliance standard that's related to the assessment, such as PCI-DSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The overall status of the assessment.
- Parameters:
status- The overall status of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The overall status of the assessment.
- Parameters:
status- The overall status of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentReportsDestination
AssessmentMetadata.Builder assessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.
- Parameters:
assessmentReportsDestination- The destination that evidence reports are stored in for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReportsDestination
default AssessmentMetadata.Builder assessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.
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:
-
scope
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
- Parameters:
scope- The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The wrapper of Amazon Web Services accounts and services that are in scope for 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:
-
roles
The roles that are associated with the assessment.
- Parameters:
roles- The roles that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
The roles that are associated with the assessment.
- Parameters:
roles- The roles that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roles
The roles that are associated with 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:
-
delegations
The delegations that are associated with the assessment.
- Parameters:
delegations- The delegations that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
The delegations that are associated with the assessment.
- Parameters:
delegations- The delegations that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
The delegations that are associated with the assessment.
This is a convenience method that creates an instance of theDelegation.Builderavoiding the need to create one manually viaDelegation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegations(List<Delegation>).- Parameters:
delegations- a consumer that will call methods onDelegation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Specifies when the assessment was created.
- Parameters:
creationTime- Specifies when the assessment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdated
The time of the most recent update.
- Parameters:
lastUpdated- The time of the most recent update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-