Interface IngestConfiguration.Builder

  • Method Details

    • name

      Ingest name

      Parameters:
      name - Ingest name
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      Ingest configuration ARN.

      Parameters:
      arn - Ingest configuration ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestProtocol

      IngestConfiguration.Builder ingestProtocol(String ingestProtocol)

      Type of ingest protocol that the user employs for broadcasting.

      Parameters:
      ingestProtocol - Type of ingest protocol that the user employs for broadcasting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ingestProtocol

      IngestConfiguration.Builder ingestProtocol(IngestProtocol ingestProtocol)

      Type of ingest protocol that the user employs for broadcasting.

      Parameters:
      ingestProtocol - Type of ingest protocol that the user employs for broadcasting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • streamKey

      IngestConfiguration.Builder streamKey(String streamKey)

      Ingest-key value for the RTMP(S) protocol.

      Parameters:
      streamKey - Ingest-key value for the RTMP(S) protocol.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stageArn

      IngestConfiguration.Builder stageArn(String stageArn)

      ARN of the stage with which the IngestConfiguration is associated.

      Parameters:
      stageArn - ARN of the stage with which the IngestConfiguration is associated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participantId

      IngestConfiguration.Builder participantId(String participantId)

      ID of the participant within the stage.

      Parameters:
      participantId - ID of the participant within the stage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      State of the ingest configuration. It is ACTIVE if a publisher currently is publishing to the stage associated with the ingest configuration.

      Parameters:
      state - State of the ingest configuration. It is ACTIVE if a publisher currently is publishing to the stage associated with the ingest configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      State of the ingest configuration. It is ACTIVE if a publisher currently is publishing to the stage associated with the ingest configuration.

      Parameters:
      state - State of the ingest configuration. It is ACTIVE if a publisher currently is publishing to the stage associated with the ingest configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userId

      Customer-assigned name to help identify the participant using the IngestConfiguration; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

      Parameters:
      userId - Customer-assigned name to help identify the participant using the IngestConfiguration; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redundantIngest

      IngestConfiguration.Builder redundantIngest(Boolean redundantIngest)

      Indicates whether redundant ingest is enabled for the ingest configuration.

      Parameters:
      redundantIngest - Indicates whether redundant ingest is enabled for the ingest configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redundantIngestCredentials

      IngestConfiguration.Builder redundantIngestCredentials(Collection<RedundantIngestCredential> redundantIngestCredentials)

      A list of redundant ingest credentials, present only when redundantIngest is set to true. See Redundant Ingest in IVS RTMP Publishing for details.

      Parameters:
      redundantIngestCredentials - A list of redundant ingest credentials, present only when redundantIngest is set to true. See Redundant Ingest in IVS RTMP Publishing for details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redundantIngestCredentials

      IngestConfiguration.Builder redundantIngestCredentials(RedundantIngestCredential... redundantIngestCredentials)

      A list of redundant ingest credentials, present only when redundantIngest is set to true. See Redundant Ingest in IVS RTMP Publishing for details.

      Parameters:
      redundantIngestCredentials - A list of redundant ingest credentials, present only when redundantIngest is set to true. See Redundant Ingest in IVS RTMP Publishing for details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redundantIngestCredentials

      IngestConfiguration.Builder redundantIngestCredentials(Consumer<RedundantIngestCredential.Builder>... redundantIngestCredentials)

      A list of redundant ingest credentials, present only when redundantIngest is set to true. See Redundant Ingest in IVS RTMP Publishing for details.

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

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

      Parameters:
      redundantIngestCredentials - a consumer that will call methods on RedundantIngestCredential.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • attributes

      IngestConfiguration.Builder attributes(Map<String,String> attributes)

      Application-provided attributes to to store in the IngestConfiguration and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

      Parameters:
      attributes - Application-provided attributes to to store in the IngestConfiguration and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.

      Parameters:
      tags - Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
      Returns:
      Returns a reference to this object so that method calls can be chained together.