Interface Composition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Composition.Builder,
,Composition> SdkBuilder<Composition.Builder,
,Composition> SdkPojo
- Enclosing class:
Composition
-
Method Summary
Modifier and TypeMethodDescriptionARN of the Composition resource.destinations
(Collection<Destination> destinations) Array of Destination objects.destinations
(Consumer<Destination.Builder>... destinations) Array of Destination objects.destinations
(Destination... destinations) Array of Destination objects.UTC time of the Composition end.default Composition.Builder
layout
(Consumer<LayoutConfiguration.Builder> layout) Layout object to configure composition parameters.layout
(LayoutConfiguration layout) Layout object to configure composition parameters.ARN of the stage used as inputUTC time of the Composition start.State of the Composition.state
(CompositionState state) State of the Composition.Tags attached to the resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
ARN of the Composition resource.
- Parameters:
arn
- ARN of the Composition resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageArn
ARN of the stage used as input
- Parameters:
stageArn
- ARN of the stage used as input- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
State of the Composition.
- Parameters:
state
- State of the Composition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
State of the Composition.
- Parameters:
state
- State of the Composition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
layout
Layout object to configure composition parameters.
- Parameters:
layout
- Layout object to configure composition parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
Layout object to configure composition parameters.
This is a convenience method that creates an instance of theLayoutConfiguration.Builder
avoiding the need to create one manually viaLayoutConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolayout(LayoutConfiguration)
.- Parameters:
layout
- a consumer that will call methods onLayoutConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
Array of Destination objects. A Composition can contain either one destination (
channel
ors3
) or two (onechannel
and ones3
).- Parameters:
destinations
- Array of Destination objects. A Composition can contain either one destination (channel
ors3
) or two (onechannel
and ones3
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Array of Destination objects. A Composition can contain either one destination (
channel
ors3
) or two (onechannel
and ones3
).- Parameters:
destinations
- Array of Destination objects. A Composition can contain either one destination (channel
ors3
) or two (onechannel
and ones3
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Array of Destination objects. A Composition can contain either one destination (
This is a convenience method that creates an instance of thechannel
ors3
) or two (onechannel
and ones3
).Destination.Builder
avoiding the need to create one manually viaDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<Destination>)
.- Parameters:
destinations
- a consumer that will call methods onDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags attached to the resource. Array of maps, each of the form
string:string (key:value)
. See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.- Parameters:
tags
- Tags attached to the resource. Array of maps, each of the formstring:string (key:value)
. See Best practices and strategies in Tagging AWS Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
- Parameters:
startTime
- UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
- Parameters:
endTime
- UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-