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
copyMethods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAccessConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDefaultSegmentDeliveryConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaHttpConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSegmentDeliveryConfiguration.builder().When the
Consumercompletes,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.
-