Interface StreamInfo.Builder

    • Method Detail

      • streamId

        StreamInfo.Builder streamId​(String streamId)

        The stream ID.

        Parameters:
        streamId - The stream ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamArn

        StreamInfo.Builder streamArn​(String streamArn)

        The stream ARN.

        Parameters:
        streamArn - The stream ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamVersion

        StreamInfo.Builder streamVersion​(Integer streamVersion)

        The stream version.

        Parameters:
        streamVersion - The stream version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        StreamInfo.Builder description​(String description)

        The description of the stream.

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

        StreamInfo.Builder files​(Collection<StreamFile> files)

        The files to stream.

        Parameters:
        files - The files to stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        StreamInfo.Builder files​(StreamFile... files)

        The files to stream.

        Parameters:
        files - The files to stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        StreamInfo.Builder createdAt​(Instant createdAt)

        The date when the stream was created.

        Parameters:
        createdAt - The date when the stream was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedAt

        StreamInfo.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        The date when the stream was last updated.

        Parameters:
        lastUpdatedAt - The date when the stream was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        StreamInfo.Builder roleArn​(String roleArn)

        An IAM role IoT assumes to access your S3 files.

        Parameters:
        roleArn - An IAM role IoT assumes to access your S3 files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.