Interface GetOriginEndpointPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetOriginEndpointPolicyResponse.Builder,
,GetOriginEndpointPolicyResponse> MediaPackageV2Response.Builder
,SdkBuilder<GetOriginEndpointPolicyResponse.Builder,
,GetOriginEndpointPolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetOriginEndpointPolicyResponse
-
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.The policy assigned to the origin endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediapackagev2.model.MediaPackageV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 assigned to the origin endpoint.
- Parameters:
policy
- The policy assigned to the origin endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdnAuthConfiguration
GetOriginEndpointPolicyResponse.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 GetOriginEndpointPolicyResponse.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:
-