Interface DescribeArchiveResponse.Builder

    • Method Detail

      • archiveArn

        DescribeArchiveResponse.Builder archiveArn​(String archiveArn)

        The ARN of the archive.

        Parameters:
        archiveArn - The ARN of the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • archiveName

        DescribeArchiveResponse.Builder archiveName​(String archiveName)

        The name of the archive.

        Parameters:
        archiveName - The name of the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventSourceArn

        DescribeArchiveResponse.Builder eventSourceArn​(String eventSourceArn)

        The ARN of the event source associated with the archive.

        Parameters:
        eventSourceArn - The ARN of the event source associated with the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        DescribeArchiveResponse.Builder description​(String description)

        The description of the archive.

        Parameters:
        description - The description of the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventPattern

        DescribeArchiveResponse.Builder eventPattern​(String eventPattern)

        The event pattern used to filter events sent to the archive.

        Parameters:
        eventPattern - The event pattern used to filter events sent to the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateReason

        DescribeArchiveResponse.Builder stateReason​(String stateReason)

        The reason that the archive is in the state.

        Parameters:
        stateReason - The reason that the archive is in the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retentionDays

        DescribeArchiveResponse.Builder retentionDays​(Integer retentionDays)

        The number of days to retain events for in the archive.

        Parameters:
        retentionDays - The number of days to retain events for in the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sizeBytes

        DescribeArchiveResponse.Builder sizeBytes​(Long sizeBytes)

        The size of the archive in bytes.

        Parameters:
        sizeBytes - The size of the archive in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventCount

        DescribeArchiveResponse.Builder eventCount​(Long eventCount)

        The number of events in the archive.

        Parameters:
        eventCount - The number of events in the archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        DescribeArchiveResponse.Builder creationTime​(Instant creationTime)

        The time at which the archive was created.

        Parameters:
        creationTime - The time at which the archive was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.