Interface AssessmentMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentMetadata.Builder,AssessmentMetadata>,SdkBuilder<AssessmentMetadata.Builder,AssessmentMetadata>,SdkPojo
- Enclosing class:
- AssessmentMetadata
public static interface AssessmentMetadata.Builder extends SdkPojo, CopyableBuilder<AssessmentMetadata.Builder,AssessmentMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssessmentMetadata.BuilderassessmentReportsDestination(Consumer<AssessmentReportsDestination.Builder> assessmentReportsDestination)The destination that evidence reports are stored in for the assessment.AssessmentMetadata.BuilderassessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)The destination that evidence reports are stored in for the assessment.AssessmentMetadata.BuildercomplianceType(String complianceType)The name of the compliance standard that's related to the assessment, such as PCI-DSS.AssessmentMetadata.BuildercreationTime(Instant creationTime)Specifies when the assessment was created.AssessmentMetadata.Builderdelegations(Collection<Delegation> delegations)The delegations that are associated with the assessment.AssessmentMetadata.Builderdelegations(Consumer<Delegation.Builder>... delegations)The delegations that are associated with the assessment.AssessmentMetadata.Builderdelegations(Delegation... delegations)The delegations that are associated with the assessment.AssessmentMetadata.Builderdescription(String description)The description of the assessment.AssessmentMetadata.Builderid(String id)The unique identifier for the assessment.AssessmentMetadata.BuilderlastUpdated(Instant lastUpdated)The time of the most recent update.AssessmentMetadata.Buildername(String name)The name of the assessment.AssessmentMetadata.Builderroles(Collection<Role> roles)The roles that are associated with the assessment.AssessmentMetadata.Builderroles(Consumer<Role.Builder>... roles)The roles that are associated with the assessment.AssessmentMetadata.Builderroles(Role... roles)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.AssessmentMetadata.Builderscope(Scope scope)The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.AssessmentMetadata.Builderstatus(String status)The overall status of the assessment.AssessmentMetadata.Builderstatus(AssessmentStatus status)The overall status of the assessment.-
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
AssessmentMetadata.Builder name(String 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
AssessmentMetadata.Builder id(String 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
AssessmentMetadata.Builder description(String 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
AssessmentMetadata.Builder complianceType(String 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
AssessmentMetadata.Builder status(String 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:
AssessmentStatus,AssessmentStatus
-
status
AssessmentMetadata.Builder status(AssessmentStatus 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:
AssessmentStatus,AssessmentStatus
-
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:
assessmentReportsDestination(AssessmentReportsDestination)
-
scope
AssessmentMetadata.Builder scope(Scope 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
default AssessmentMetadata.Builder scope(Consumer<Scope.Builder> 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:
scope(Scope)
-
roles
AssessmentMetadata.Builder roles(Collection<Role> 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
AssessmentMetadata.Builder roles(Role... 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
AssessmentMetadata.Builder roles(Consumer<Role.Builder>... 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 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)
-
delegations
AssessmentMetadata.Builder delegations(Collection<Delegation> 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
AssessmentMetadata.Builder delegations(Delegation... 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
AssessmentMetadata.Builder delegations(Consumer<Delegation.Builder>... 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 to#delegations(List.) - 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:
#delegations(java.util.Collection)
-
creationTime
AssessmentMetadata.Builder creationTime(Instant 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
AssessmentMetadata.Builder lastUpdated(Instant 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.
-
-