Interface CreateFlowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFlowRequest.Builder,
,CreateFlowRequest> MediaConnectRequest.Builder
,SdkBuilder<CreateFlowRequest.Builder,
,CreateFlowRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFlowRequest
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone that you want to create the flow in.entitlements
(Collection<GrantEntitlementRequest> entitlements) The entitlements that you want to grant on a flow.entitlements
(Consumer<GrantEntitlementRequest.Builder>... entitlements) The entitlements that you want to grant on a flow.entitlements
(GrantEntitlementRequest... entitlements) The entitlements that you want to grant on a flow.default CreateFlowRequest.Builder
maintenance
(Consumer<AddMaintenance.Builder> maintenance) Sets the value of the Maintenance property for this object.maintenance
(AddMaintenance maintenance) Sets the value of the Maintenance property for this object.mediaStreams
(Collection<AddMediaStreamRequest> mediaStreams) The media streams that you want to add to the flow.mediaStreams
(Consumer<AddMediaStreamRequest.Builder>... mediaStreams) The media streams that you want to add to the flow.mediaStreams
(AddMediaStreamRequest... mediaStreams) The media streams that you want to add to the flow.The name of the flow.outputs
(Collection<AddOutputRequest> outputs) The outputs that you want to add to this flow.outputs
(Consumer<AddOutputRequest.Builder>... outputs) The outputs that you want to add to this flow.outputs
(AddOutputRequest... outputs) The outputs that you want to add to this flow.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateFlowRequest.Builder
source
(Consumer<SetSourceRequest.Builder> source) Sets the value of the Source property for this object.source
(SetSourceRequest source) Sets the value of the Source property for this object.default CreateFlowRequest.Builder
sourceFailoverConfig
(Consumer<FailoverConfig.Builder> sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object.sourceFailoverConfig
(FailoverConfig sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object.sources
(Collection<SetSourceRequest> sources) Sets the value of the Sources property for this object.sources
(Consumer<SetSourceRequest.Builder>... sources) Sets the value of the Sources property for this object.sources
(SetSourceRequest... sources) Sets the value of the Sources property for this object.vpcInterfaces
(Collection<VpcInterfaceRequest> vpcInterfaces) The VPC interfaces you want on the flow.vpcInterfaces
(Consumer<VpcInterfaceRequest.Builder>... vpcInterfaces) The VPC interfaces you want on the flow.vpcInterfaces
(VpcInterfaceRequest... vpcInterfaces) The VPC interfaces you want on the flow.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.mediaconnect.model.MediaConnectRequest.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
-
availabilityZone
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.- Parameters:
availabilityZone
- The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements that you want to grant on a flow.- Parameters:
entitlements
- The entitlements that you want to grant on a flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements that you want to grant on a flow.- Parameters:
entitlements
- The entitlements that you want to grant on a flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements that you want to grant on a flow. This is a convenience method that creates an instance of theGrantEntitlementRequest.Builder
avoiding the need to create one manually viaGrantEntitlementRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentitlements(List<GrantEntitlementRequest>)
.- Parameters:
entitlements
- a consumer that will call methods onGrantEntitlementRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaStreams
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.- Parameters:
mediaStreams
- The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.- Parameters:
mediaStreams
- The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow. This is a convenience method that creates an instance of theAddMediaStreamRequest.Builder
avoiding the need to create one manually viaAddMediaStreamRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaStreams(List<AddMediaStreamRequest>)
.- Parameters:
mediaStreams
- a consumer that will call methods onAddMediaStreamRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the flow.- Parameters:
name
- The name of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs that you want to add to this flow.- Parameters:
outputs
- The outputs that you want to add to this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs that you want to add to this flow.- Parameters:
outputs
- The outputs that you want to add to this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs that you want to add to this flow. This is a convenience method that creates an instance of theAddOutputRequest.Builder
avoiding the need to create one manually viaAddOutputRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<AddOutputRequest>)
.- Parameters:
outputs
- a consumer that will call methods onAddOutputRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
Sets the value of the Source property for this object.- Parameters:
source
- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Sets the value of the Source property for this object. This is a convenience method that creates an instance of theSetSourceRequest.Builder
avoiding the need to create one manually viaSetSourceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(SetSourceRequest)
.- Parameters:
source
- a consumer that will call methods onSetSourceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceFailoverConfig
Sets the value of the SourceFailoverConfig property for this object.- Parameters:
sourceFailoverConfig
- The new value for the SourceFailoverConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFailoverConfig
default CreateFlowRequest.Builder sourceFailoverConfig(Consumer<FailoverConfig.Builder> sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object. This is a convenience method that creates an instance of theFailoverConfig.Builder
avoiding the need to create one manually viaFailoverConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceFailoverConfig(FailoverConfig)
.- Parameters:
sourceFailoverConfig
- a consumer that will call methods onFailoverConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object. This is a convenience method that creates an instance of theSetSourceRequest.Builder
avoiding the need to create one manually viaSetSourceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<SetSourceRequest>)
.- Parameters:
sources
- a consumer that will call methods onSetSourceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcInterfaces
The VPC interfaces you want on the flow.- Parameters:
vpcInterfaces
- The VPC interfaces you want on the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaces
The VPC interfaces you want on the flow.- Parameters:
vpcInterfaces
- The VPC interfaces you want on the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaces
The VPC interfaces you want on the flow. This is a convenience method that creates an instance of theVpcInterfaceRequest.Builder
avoiding the need to create one manually viaVpcInterfaceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcInterfaces(List<VpcInterfaceRequest>)
.- Parameters:
vpcInterfaces
- a consumer that will call methods onVpcInterfaceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenance
Sets the value of the Maintenance property for this object.- Parameters:
maintenance
- The new value for the Maintenance property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenance
Sets the value of the Maintenance property for this object. This is a convenience method that creates an instance of theAddMaintenance.Builder
avoiding the need to create one manually viaAddMaintenance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenance(AddMaintenance)
.- Parameters:
maintenance
- a consumer that will call methods onAddMaintenance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFlowRequest.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
CreateFlowRequest.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.
-