Interface AssessmentMetadataItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssessmentMetadataItem.Builder,
,AssessmentMetadataItem> SdkBuilder<AssessmentMetadataItem.Builder,
,AssessmentMetadataItem> SdkPojo
- Enclosing class:
AssessmentMetadataItem
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceType
(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.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.The current status of the assessment.status
(AssessmentStatus status) The current 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 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.
-
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 current status of the assessment.
- Parameters:
status
- The current status of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the assessment.
- Parameters:
status
- The current status of the assessment.- 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.Builder
avoiding the need to create one manually viaRole.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaDelegation.builder()
.When the
Consumer
completes,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.
-