Interface CreateSourceLocationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSourceLocationRequest.Builder,
,CreateSourceLocationRequest> MediaTailorRequest.Builder
,SdkBuilder<CreateSourceLocationRequest.Builder,
,CreateSourceLocationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSourceLocationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessConfiguration
(Consumer<AccessConfiguration.Builder> accessConfiguration) Access configuration parameters.accessConfiguration
(AccessConfiguration accessConfiguration) Access configuration parameters.defaultSegmentDeliveryConfiguration
(Consumer<DefaultSegmentDeliveryConfiguration.Builder> defaultSegmentDeliveryConfiguration) The optional configuration for the server that serves segments.defaultSegmentDeliveryConfiguration
(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration) The optional configuration for the server that serves segments.httpConfiguration
(Consumer<HttpConfiguration.Builder> httpConfiguration) The source's HTTP package configurations.httpConfiguration
(HttpConfiguration httpConfiguration) The source's HTTP package configurations.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.segmentDeliveryConfigurations
(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations) A list of the segment delivery configurations associated with this resource.segmentDeliveryConfigurations
(Consumer<SegmentDeliveryConfiguration.Builder>... segmentDeliveryConfigurations) A list of the segment delivery configurations associated with this resource.segmentDeliveryConfigurations
(SegmentDeliveryConfiguration... segmentDeliveryConfigurations) A list of the segment delivery configurations associated with this resource.sourceLocationName
(String sourceLocationName) The name associated with the source location.The tags to assign to the source location.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.mediatailor.model.MediaTailorRequest.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
-
accessConfiguration
Access configuration parameters. Configures the type of authentication used to access content from your source location.
- Parameters:
accessConfiguration
- Access configuration parameters. Configures the type of authentication used to access content from your source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessConfiguration
default CreateSourceLocationRequest.Builder accessConfiguration(Consumer<AccessConfiguration.Builder> accessConfiguration) Access configuration parameters. Configures the type of authentication used to access content from your source location.
This is a convenience method that creates an instance of theAccessConfiguration.Builder
avoiding the need to create one manually viaAccessConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessConfiguration(AccessConfiguration)
.- Parameters:
accessConfiguration
- a consumer that will call methods onAccessConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultSegmentDeliveryConfiguration
CreateSourceLocationRequest.Builder defaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration defaultSegmentDeliveryConfiguration) The optional configuration for the server that serves segments.
- Parameters:
defaultSegmentDeliveryConfiguration
- The optional configuration for the server that serves segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSegmentDeliveryConfiguration
default CreateSourceLocationRequest.Builder defaultSegmentDeliveryConfiguration(Consumer<DefaultSegmentDeliveryConfiguration.Builder> defaultSegmentDeliveryConfiguration) The optional configuration for the server that serves segments.
This is a convenience method that creates an instance of theDefaultSegmentDeliveryConfiguration.Builder
avoiding the need to create one manually viaDefaultSegmentDeliveryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration)
.- Parameters:
defaultSegmentDeliveryConfiguration
- a consumer that will call methods onDefaultSegmentDeliveryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
httpConfiguration
The source's HTTP package configurations.
- Parameters:
httpConfiguration
- The source's HTTP package configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpConfiguration
default CreateSourceLocationRequest.Builder httpConfiguration(Consumer<HttpConfiguration.Builder> httpConfiguration) The source's HTTP package configurations.
This is a convenience method that creates an instance of theHttpConfiguration.Builder
avoiding the need to create one manually viaHttpConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpConfiguration(HttpConfiguration)
.- Parameters:
httpConfiguration
- a consumer that will call methods onHttpConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentDeliveryConfigurations
CreateSourceLocationRequest.Builder segmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations) A list of the segment delivery configurations associated with this resource.
- Parameters:
segmentDeliveryConfigurations
- A list of the segment delivery configurations associated with this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDeliveryConfigurations
CreateSourceLocationRequest.Builder segmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations) A list of the segment delivery configurations associated with this resource.
- Parameters:
segmentDeliveryConfigurations
- A list of the segment delivery configurations associated with this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDeliveryConfigurations
CreateSourceLocationRequest.Builder segmentDeliveryConfigurations(Consumer<SegmentDeliveryConfiguration.Builder>... segmentDeliveryConfigurations) A list of the segment delivery configurations associated with this resource.
This is a convenience method that creates an instance of theSegmentDeliveryConfiguration.Builder
avoiding the need to create one manually viaSegmentDeliveryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosegmentDeliveryConfigurations(List<SegmentDeliveryConfiguration>)
.- Parameters:
segmentDeliveryConfigurations
- a consumer that will call methods onSegmentDeliveryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceLocationName
The name associated with the source location.
- Parameters:
sourceLocationName
- The name associated with the source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
- Parameters:
tags
- The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSourceLocationRequest.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
CreateSourceLocationRequest.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.
-