Interface PlaybackRestrictionPolicySummary.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PlaybackRestrictionPolicySummary.Builder,,- PlaybackRestrictionPolicySummary> - SdkBuilder<PlaybackRestrictionPolicySummary.Builder,,- PlaybackRestrictionPolicySummary> - SdkPojo
- Enclosing class:
- PlaybackRestrictionPolicySummary
- 
Method SummaryModifier and TypeMethodDescriptionallowedCountries(String... allowedCountries) A list of country codes that control geoblocking restriction.allowedCountries(Collection<String> allowedCountries) A list of country codes that control geoblocking restriction.allowedOrigins(String... allowedOrigins) A list of origin sites that control CORS restriction.allowedOrigins(Collection<String> allowedOrigins) A list of origin sites that control CORS restriction.Playback-restriction-policy ARNenableStrictOriginEnforcement(Boolean enableStrictOriginEnforcement) Whether channel playback is constrained by origin site.Playback-restriction-policy name.Tags attached to the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
allowedCountriesA 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.
 
- 
allowedCountriesA 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.
 
- 
allowedOriginsA list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer .mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array). - Parameters:
- allowedOrigins- A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
allowedOriginsA list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer .mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array). - Parameters:
- allowedOrigins- A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
arnPlayback-restriction-policy ARN - Parameters:
- arn- Playback-restriction-policy ARN
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enableStrictOriginEnforcementPlaybackRestrictionPolicySummary.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.
 
- 
namePlayback-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.
 
- 
tagsTags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, 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 Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, 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.
 
 
-