Interface CreateSourceLocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateSourceLocationResponse.Builder,
,CreateSourceLocationResponse> MediaTailorResponse.Builder
,SdkBuilder<CreateSourceLocationResponse.Builder,
,CreateSourceLocationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateSourceLocationResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessConfiguration
(Consumer<AccessConfiguration.Builder> accessConfiguration) Access configuration parameters.accessConfiguration
(AccessConfiguration accessConfiguration) Access configuration parameters.The ARN to assign to the source location.creationTime
(Instant creationTime) The time the source location was created.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.lastModifiedTime
(Instant lastModifiedTime) The time the source location was last modified.segmentDeliveryConfigurations
(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations) The segment delivery configurations for the source location.segmentDeliveryConfigurations
(Consumer<SegmentDeliveryConfiguration.Builder>... segmentDeliveryConfigurations) The segment delivery configurations for the source location.segmentDeliveryConfigurations
(SegmentDeliveryConfiguration... segmentDeliveryConfigurations) The segment delivery configurations for the source location.sourceLocationName
(String sourceLocationName) The name to assign to the source location.The tags to assign to the source location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 CreateSourceLocationResponse.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:
-
arn
The ARN to assign to the source location.
- Parameters:
arn
- The ARN to assign to the source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time the source location was created.
- Parameters:
creationTime
- The time the source location was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSegmentDeliveryConfiguration
CreateSourceLocationResponse.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 CreateSourceLocationResponse.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 CreateSourceLocationResponse.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:
-
lastModifiedTime
The time the source location was last modified.
- Parameters:
lastModifiedTime
- The time the source location was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDeliveryConfigurations
CreateSourceLocationResponse.Builder segmentDeliveryConfigurations(Collection<SegmentDeliveryConfiguration> segmentDeliveryConfigurations) The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
- Parameters:
segmentDeliveryConfigurations
- The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDeliveryConfigurations
CreateSourceLocationResponse.Builder segmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations) The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
- Parameters:
segmentDeliveryConfigurations
- The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDeliveryConfigurations
CreateSourceLocationResponse.Builder segmentDeliveryConfigurations(Consumer<SegmentDeliveryConfiguration.Builder>... segmentDeliveryConfigurations) The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
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 to assign to the source location.
- Parameters:
sourceLocationName
- The name to assign to 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.
-