Interface AssessmentMetadataItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentMetadataItem.Builder,AssessmentMetadataItem>,SdkBuilder<AssessmentMetadataItem.Builder,AssessmentMetadataItem>,SdkPojo
- Enclosing class:
- AssessmentMetadataItem
public static interface AssessmentMetadataItem.Builder extends SdkPojo, CopyableBuilder<AssessmentMetadataItem.Builder,AssessmentMetadataItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssessmentMetadataItem.BuildercomplianceType(String complianceType)The name of the compliance standard that's related to the assessment, such as PCI-DSS.AssessmentMetadataItem.BuildercreationTime(Instant creationTime)Specifies when the assessment was created.AssessmentMetadataItem.Builderdelegations(Collection<Delegation> delegations)The delegations that are associated with the assessment.AssessmentMetadataItem.Builderdelegations(Consumer<Delegation.Builder>... delegations)The delegations that are associated with the assessment.AssessmentMetadataItem.Builderdelegations(Delegation... delegations)The delegations that are associated with the assessment.AssessmentMetadataItem.Builderid(String id)The unique identifier for the assessment.AssessmentMetadataItem.BuilderlastUpdated(Instant lastUpdated)The time of the most recent update.AssessmentMetadataItem.Buildername(String name)The name of the assessment.AssessmentMetadataItem.Builderroles(Collection<Role> roles)The roles that are associated with the assessment.AssessmentMetadataItem.Builderroles(Consumer<Role.Builder>... roles)The roles that are associated with the assessment.AssessmentMetadataItem.Builderroles(Role... roles)The roles that are associated with the assessment.AssessmentMetadataItem.Builderstatus(String status)The current status of the assessment.AssessmentMetadataItem.Builderstatus(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 Detail
-
name
AssessmentMetadataItem.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
AssessmentMetadataItem.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.
-
complianceType
AssessmentMetadataItem.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
AssessmentMetadataItem.Builder status(String 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:
AssessmentStatus,AssessmentStatus
-
status
AssessmentMetadataItem.Builder status(AssessmentStatus 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:
AssessmentStatus,AssessmentStatus
-
roles
AssessmentMetadataItem.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
AssessmentMetadataItem.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
AssessmentMetadataItem.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
AssessmentMetadataItem.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
AssessmentMetadataItem.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
AssessmentMetadataItem.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
AssessmentMetadataItem.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
AssessmentMetadataItem.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.
-
-