Interface PlaybackRestrictionPolicySummary.Builder

    • Method Detail

      • allowedCountries

        PlaybackRestrictionPolicySummary.Builder allowedCountries​(Collection<String> allowedCountries)

        A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).

        Parameters:
        allowedCountries - A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedCountries

        PlaybackRestrictionPolicySummary.Builder allowedCountries​(String... allowedCountries)

        A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).

        Parameters:
        allowedCountries - A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        PlaybackRestrictionPolicySummary.Builder arn​(String arn)

        Playback-restriction-policy ARN

        Parameters:
        arn - Playback-restriction-policy ARN
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableStrictOriginEnforcement

        PlaybackRestrictionPolicySummary.Builder enableStrictOriginEnforcement​(Boolean enableStrictOriginEnforcement)

        Whether channel playback is constrained by origin site. Default: false.

        Parameters:
        enableStrictOriginEnforcement - Whether channel playback is constrained by origin site. Default: false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        PlaybackRestrictionPolicySummary.Builder name​(String name)

        Playback-restriction-policy name. The value does not need to be unique.

        Parameters:
        name - Playback-restriction-policy name. The value does not need to be unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        PlaybackRestrictionPolicySummary.Builder tags​(Map<String,​String> tags)

        Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

        Parameters:
        tags - Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
        Returns:
        Returns a reference to this object so that method calls can be chained together.