Interface UpdatePlaybackRestrictionPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePlaybackRestrictionPolicyRequest.Builder,
,UpdatePlaybackRestrictionPolicyRequest> IvsRequest.Builder
,SdkBuilder<UpdatePlaybackRestrictionPolicyRequest.Builder,
,UpdatePlaybackRestrictionPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePlaybackRestrictionPolicyRequest
-
Method Summary
Modifier 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.ARN of the playback-restriction-policy to be updated.enableStrictOriginEnforcement
(Boolean enableStrictOriginEnforcement) Whether channel playback is constrained by origin site.Playback-restriction-policy name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivs.model.IvsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
allowedCountries
UpdatePlaybackRestrictionPolicyRequest.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
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.
-
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).
- 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.
-
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).
- 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.
-
arn
ARN of the playback-restriction-policy to be updated.
- Parameters:
arn
- ARN of the playback-restriction-policy to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableStrictOriginEnforcement
UpdatePlaybackRestrictionPolicyRequest.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
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.
-
overrideConfiguration
UpdatePlaybackRestrictionPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePlaybackRestrictionPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-