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.Buildermaintenance(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.Buildersource(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.BuildersourceFailoverConfig(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.default CreateFlowRequest.BuildersourceMonitoringConfig(Consumer<MonitoringConfig.Builder> sourceMonitoringConfig) Sets the value of the SourceMonitoringConfig property for this object.sourceMonitoringConfig(MonitoringConfig sourceMonitoringConfig) Sets the value of the SourceMonitoringConfig 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaGrantEntitlementRequest.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAddMediaStreamRequest.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAddOutputRequest.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSetSourceRequest.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFailoverConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSetSourceRequest.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVpcInterfaceRequest.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAddMaintenance.builder().When the
Consumercompletes,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:
-
sourceMonitoringConfig
Sets the value of the SourceMonitoringConfig property for this object.- Parameters:
sourceMonitoringConfig- The new value for the SourceMonitoringConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceMonitoringConfig
default CreateFlowRequest.Builder sourceMonitoringConfig(Consumer<MonitoringConfig.Builder> sourceMonitoringConfig) Sets the value of the SourceMonitoringConfig property for this object. This is a convenience method that creates an instance of theMonitoringConfig.Builderavoiding the need to create one manually viaMonitoringConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceMonitoringConfig(MonitoringConfig).- Parameters:
sourceMonitoringConfig- a consumer that will call methods onMonitoringConfig.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-