Interface AssessmentMetadata.Builder

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

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