Interface ListedFlow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListedFlow.Builder,
,ListedFlow> SdkBuilder<ListedFlow.Builder,
,ListedFlow> SdkPojo
- Enclosing class:
ListedFlow
public static interface ListedFlow.Builder
extends SdkPojo, CopyableBuilder<ListedFlow.Builder,ListedFlow>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone that the flow was created in.description
(String description) A description of the flow.The ARN of the flow.default ListedFlow.Builder
maintenance
(Consumer<Maintenance.Builder> maintenance) Sets the value of the Maintenance property for this object.maintenance
(Maintenance maintenance) Sets the value of the Maintenance property for this object.The name of the flow.sourceType
(String sourceType) The type of source.sourceType
(SourceType sourceType) The type of source.The current status of the flow.The current status of the flow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 the flow was created in.- Parameters:
availabilityZone
- The Availability Zone that the flow was created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the flow.- Parameters:
description
- A description of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowArn
The ARN of the flow.- Parameters:
flowArn
- The ARN of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
sourceType
The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).- Parameters:
sourceType
- The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).- Parameters:
sourceType
- The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the flow.- Parameters:
status
- The current status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the flow.- Parameters:
status
- The current status of the flow.- 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 theMaintenance.Builder
avoiding the need to create one manually viaMaintenance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenance(Maintenance)
.- Parameters:
maintenance
- a consumer that will call methods onMaintenance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-