Interface ChannelInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelInfo.Builder,ChannelInfo>,SdkBuilder<ChannelInfo.Builder,ChannelInfo>,SdkPojo
- Enclosing class:
- ChannelInfo
public static interface ChannelInfo.Builder extends SdkPojo, CopyableBuilder<ChannelInfo.Builder,ChannelInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChannelInfo.BuilderchannelARN(String channelARN)The Amazon Resource Name (ARN) of the signaling channel.ChannelInfo.BuilderchannelName(String channelName)The name of the signaling channel.ChannelInfo.BuilderchannelStatus(String channelStatus)Current status of the signaling channel.ChannelInfo.BuilderchannelStatus(Status channelStatus)Current status of the signaling channel.ChannelInfo.BuilderchannelType(String channelType)The type of the signaling channel.ChannelInfo.BuilderchannelType(ChannelType channelType)The type of the signaling channel.ChannelInfo.BuildercreationTime(Instant creationTime)The time at which the signaling channel was created.default ChannelInfo.BuildersingleMasterConfiguration(Consumer<SingleMasterConfiguration.Builder> singleMasterConfiguration)A structure that contains the configuration for theSINGLE_MASTERchannel type.ChannelInfo.BuildersingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)A structure that contains the configuration for theSINGLE_MASTERchannel type.ChannelInfo.Builderversion(String version)The current version of the signaling channel.-
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
-
channelName
ChannelInfo.Builder channelName(String channelName)
The name of the signaling channel.
- Parameters:
channelName- The name of the signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelARN
ChannelInfo.Builder channelARN(String channelARN)
The Amazon Resource Name (ARN) of the signaling channel.
- Parameters:
channelARN- The Amazon Resource Name (ARN) of the signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelType
ChannelInfo.Builder channelType(String channelType)
The type of the signaling channel.
- Parameters:
channelType- The type of the signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelType,ChannelType
-
channelType
ChannelInfo.Builder channelType(ChannelType channelType)
The type of the signaling channel.
- Parameters:
channelType- The type of the signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelType,ChannelType
-
channelStatus
ChannelInfo.Builder channelStatus(String channelStatus)
Current status of the signaling channel.
-
channelStatus
ChannelInfo.Builder channelStatus(Status channelStatus)
Current status of the signaling channel.
-
creationTime
ChannelInfo.Builder creationTime(Instant creationTime)
The time at which the signaling channel was created.
- Parameters:
creationTime- The time at which the signaling channel was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
singleMasterConfiguration
ChannelInfo.Builder singleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure that contains the configuration for the
SINGLE_MASTERchannel type.- Parameters:
singleMasterConfiguration- A structure that contains the configuration for theSINGLE_MASTERchannel type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
singleMasterConfiguration
default ChannelInfo.Builder singleMasterConfiguration(Consumer<SingleMasterConfiguration.Builder> singleMasterConfiguration)
A structure that contains the configuration for the
This is a convenience method that creates an instance of theSINGLE_MASTERchannel type.SingleMasterConfiguration.Builderavoiding the need to create one manually viaSingleMasterConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosingleMasterConfiguration(SingleMasterConfiguration).- Parameters:
singleMasterConfiguration- a consumer that will call methods onSingleMasterConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
singleMasterConfiguration(SingleMasterConfiguration)
-
version
ChannelInfo.Builder version(String version)
The current version of the signaling channel.
- Parameters:
version- The current version of the signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-