Interface AssessmentMetadataItem.Builder

    • 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.
      • 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 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).

        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:
        #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.
      • 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.