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 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

      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

      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 the Role.Builder avoiding the need to create one manually via Role.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to roles(List<Role>).

      Parameters:
      roles - a consumer that will call methods on Role.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

      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

      The delegations that are associated with the assessment.

      This is a convenience method that creates an instance of the Delegation.Builder avoiding the need to create one manually via Delegation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to delegations(List<Delegation>).

      Parameters:
      delegations - a consumer that will call methods on Delegation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.