Interface Destination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Destination.Builder,Destination>,SdkBuilder<Destination.Builder,Destination>,SdkPojo
- Enclosing class:
- Destination
public static interface Destination.Builder extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Destination.Builderconfiguration(Consumer<DestinationConfiguration.Builder> configuration)Configuration used to create this destination.Destination.Builderconfiguration(DestinationConfiguration configuration)Configuration used to create this destination.default Destination.Builderdetail(Consumer<DestinationDetail.Builder> detail)Optional details regarding the status of the destination.Destination.Builderdetail(DestinationDetail detail)Optional details regarding the status of the destination.Destination.BuilderendTime(Instant endTime)UTC time of the destination end.Destination.Builderid(String id)Unique identifier for this destination, assigned by IVS.Destination.BuilderstartTime(Instant startTime)UTC time of the destination start.Destination.Builderstate(String state)State of the Composition Destination.Destination.Builderstate(DestinationState state)State of the Composition Destination.-
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 Detail
-
id
Destination.Builder id(String id)
Unique identifier for this destination, assigned by IVS.
- Parameters:
id- Unique identifier for this destination, assigned by IVS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Destination.Builder state(String state)
State of the Composition Destination.
- Parameters:
state- State of the Composition Destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DestinationState,DestinationState
-
state
Destination.Builder state(DestinationState state)
State of the Composition Destination.
- Parameters:
state- State of the Composition Destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DestinationState,DestinationState
-
startTime
Destination.Builder startTime(Instant startTime)
UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
- Parameters:
startTime- UTC time of the destination 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
Destination.Builder endTime(Instant endTime)
UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
- Parameters:
endTime- UTC time of the destination 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.
-
configuration
Destination.Builder configuration(DestinationConfiguration configuration)
Configuration used to create this destination.
- Parameters:
configuration- Configuration used to create this destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default Destination.Builder configuration(Consumer<DestinationConfiguration.Builder> configuration)
Configuration used to create this destination.
This is a convenience method that creates an instance of theDestinationConfiguration.Builderavoiding the need to create one manually viaDestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(DestinationConfiguration).- Parameters:
configuration- a consumer that will call methods onDestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(DestinationConfiguration)
-
detail
Destination.Builder detail(DestinationDetail detail)
Optional details regarding the status of the destination.
- Parameters:
detail- Optional details regarding the status of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
default Destination.Builder detail(Consumer<DestinationDetail.Builder> detail)
Optional details regarding the status of the destination.
This is a convenience method that creates an instance of theDestinationDetail.Builderavoiding the need to create one manually viaDestinationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetail(DestinationDetail).- Parameters:
detail- a consumer that will call methods onDestinationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detail(DestinationDetail)
-
-