Class VoiceChannelReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.pinpoint.VoiceChannelReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceChannelReference>
- Enclosing interface:
VoiceChannelReference
@Stability(Stable)
public static final class VoiceChannelReference.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceChannelReference>
A builder for
VoiceChannelReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.voiceChannelId(String voiceChannelId) Sets the value ofVoiceChannelReference.getVoiceChannelId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
voiceChannelId
Sets the value ofVoiceChannelReference.getVoiceChannelId()- Parameters:
voiceChannelId- The Id of the VoiceChannel resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VoiceChannelReference>- Returns:
- a new instance of
VoiceChannelReference - Throws:
NullPointerException- if any required attribute was not provided
-