Interface CreateInputRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateInputRequest.Builder,
,CreateInputRequest> MediaLiveRequest.Builder
,SdkBuilder<CreateInputRequest.Builder,
,CreateInputRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateInputRequest
public static interface CreateInputRequest.Builder
extends MediaLiveRequest.Builder, SdkPojo, CopyableBuilder<CreateInputRequest.Builder,CreateInputRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations
(Collection<InputDestinationRequest> destinations) Destination settings for PUSH type inputs.destinations
(Consumer<InputDestinationRequest.Builder>... destinations) Destination settings for PUSH type inputs.destinations
(InputDestinationRequest... destinations) Destination settings for PUSH type inputs.inputDevices
(Collection<InputDeviceSettings> inputDevices) Settings for the devices.inputDevices
(Consumer<InputDeviceSettings.Builder>... inputDevices) Settings for the devices.inputDevices
(InputDeviceSettings... inputDevices) Settings for the devices.inputSecurityGroups
(String... inputSecurityGroups) A list of security groups referenced by IDs to attach to the input.inputSecurityGroups
(Collection<String> inputSecurityGroups) A list of security groups referenced by IDs to attach to the input.mediaConnectFlows
(Collection<MediaConnectFlowRequest> mediaConnectFlows) A list of the MediaConnect Flows that you want to use in this input.mediaConnectFlows
(Consumer<MediaConnectFlowRequest.Builder>... mediaConnectFlows) A list of the MediaConnect Flows that you want to use in this input.mediaConnectFlows
(MediaConnectFlowRequest... mediaConnectFlows) A list of the MediaConnect Flows that you want to use in this input.Name of the input.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Unique identifier of the request to ensure the request is handled exactly once in case of retries.The Amazon Resource Name (ARN) of the role this input assumes during and after creation.sources
(Collection<InputSourceRequest> sources) The source URLs for a PULL-type input.sources
(Consumer<InputSourceRequest.Builder>... sources) The source URLs for a PULL-type input.sources
(InputSourceRequest... sources) The source URLs for a PULL-type input.A collection of key-value pairs.Sets the value of the Type property for this object.Sets the value of the Type property for this object.default CreateInputRequest.Builder
Sets the value of the Vpc property for this object.vpc
(InputVpcRequest vpc) Sets the value of the Vpc property for this object.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.medialive.model.MediaLiveRequest.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
-
destinations
Destination settings for PUSH type inputs.- Parameters:
destinations
- Destination settings for PUSH type inputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Destination settings for PUSH type inputs.- Parameters:
destinations
- Destination settings for PUSH type inputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Destination settings for PUSH type inputs. This is a convenience method that creates an instance of theInputDestinationRequest.Builder
avoiding the need to create one manually viaInputDestinationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<InputDestinationRequest>)
.- Parameters:
destinations
- a consumer that will call methods onInputDestinationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputDevices
Settings for the devices.- Parameters:
inputDevices
- Settings for the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDevices
Settings for the devices.- Parameters:
inputDevices
- Settings for the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDevices
Settings for the devices. This is a convenience method that creates an instance of theInputDeviceSettings.Builder
avoiding the need to create one manually viaInputDeviceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDevices(List<InputDeviceSettings>)
.- Parameters:
inputDevices
- a consumer that will call methods onInputDeviceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputSecurityGroups
A list of security groups referenced by IDs to attach to the input.- Parameters:
inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSecurityGroups
A list of security groups referenced by IDs to attach to the input.- Parameters:
inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaConnectFlows
A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.- Parameters:
mediaConnectFlows
- A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaConnectFlows
A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.- Parameters:
mediaConnectFlows
- A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaConnectFlows
CreateInputRequest.Builder mediaConnectFlows(Consumer<MediaConnectFlowRequest.Builder>... mediaConnectFlows) A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues. This is a convenience method that creates an instance of theMediaConnectFlowRequest.Builder
avoiding the need to create one manually viaMediaConnectFlowRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaConnectFlows(List<MediaConnectFlowRequest>)
.- Parameters:
mediaConnectFlows
- a consumer that will call methods onMediaConnectFlowRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Name of the input.- Parameters:
name
- Name of the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
Unique identifier of the request to ensure the request is handled exactly once in case of retries.- Parameters:
requestId
- Unique identifier of the request to ensure the request is handled exactly once in case of retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.- Parameters:
sources
- The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.- Parameters:
sources
- The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty. This is a convenience method that creates an instance of theInputSourceRequest.Builder
avoiding the need to create one manually viaInputSourceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<InputSourceRequest>)
.- Parameters:
sources
- a consumer that will call methods onInputSourceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A collection of key-value pairs.- Parameters:
tags
- A collection of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Sets the value of the Type property for this object.- Parameters:
type
- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Sets the value of the Type property for this object.- Parameters:
type
- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpc
Sets the value of the Vpc property for this object.- Parameters:
vpc
- The new value for the Vpc property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
Sets the value of the Vpc property for this object. This is a convenience method that creates an instance of theInputVpcRequest.Builder
avoiding the need to create one manually viaInputVpcRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpc(InputVpcRequest)
.- Parameters:
vpc
- a consumer that will call methods onInputVpcRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateInputRequest.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
CreateInputRequest.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.
-