Interface PutOriginEndpointPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutOriginEndpointPolicyRequest.Builder,
,PutOriginEndpointPolicyRequest> MediaPackageV2Request.Builder
,SdkBuilder<PutOriginEndpointPolicyRequest.Builder,
,PutOriginEndpointPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutOriginEndpointPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptioncdnAuthConfiguration
(Consumer<CdnAuthConfiguration.Builder> cdnAuthConfiguration) The settings for using authorization headers between the MediaPackage endpoint and your CDN.cdnAuthConfiguration
(CdnAuthConfiguration cdnAuthConfiguration) The settings for using authorization headers between the MediaPackage endpoint and your CDN.channelGroupName
(String channelGroupName) The name that describes the channel group.channelName
(String channelName) The name that describes the channel.originEndpointName
(String originEndpointName) The name that describes the origin endpoint.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The policy to attach to the specified origin endpoint.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.mediapackagev2.model.MediaPackageV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
channelGroupName
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
- Parameters:
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
- Parameters:
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originEndpointName
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
- Parameters:
originEndpointName
- The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The policy to attach to the specified origin endpoint.
- Parameters:
policy
- The policy to attach to the specified origin endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdnAuthConfiguration
PutOriginEndpointPolicyRequest.Builder cdnAuthConfiguration(CdnAuthConfiguration cdnAuthConfiguration) The settings for using authorization headers between the MediaPackage endpoint and your CDN.
For information about CDN authorization, see CDN authorization in Elemental MediaPackage in the MediaPackage user guide.
- Parameters:
cdnAuthConfiguration
- The settings for using authorization headers between the MediaPackage endpoint and your CDN.For information about CDN authorization, see CDN authorization in Elemental MediaPackage in the MediaPackage user guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdnAuthConfiguration
default PutOriginEndpointPolicyRequest.Builder cdnAuthConfiguration(Consumer<CdnAuthConfiguration.Builder> cdnAuthConfiguration) The settings for using authorization headers between the MediaPackage endpoint and your CDN.
For information about CDN authorization, see CDN authorization in Elemental MediaPackage in the MediaPackage user guide.
This is a convenience method that creates an instance of theCdnAuthConfiguration.Builder
avoiding the need to create one manually viaCdnAuthConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocdnAuthConfiguration(CdnAuthConfiguration)
.- Parameters:
cdnAuthConfiguration
- a consumer that will call methods onCdnAuthConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutOriginEndpointPolicyRequest.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
PutOriginEndpointPolicyRequest.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.
-