Class CfnLinkProps.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnLinkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkProps>
- Enclosing interface:
CfnLinkProps
@Stability(Stable)
public static final class CfnLinkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkProps>
A builder for
CfnLinkProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLinkProps.getGatewayId()httpResponderAllowed(Boolean httpResponderAllowed) Sets the value ofCfnLinkProps.getHttpResponderAllowed()httpResponderAllowed(IResolvable httpResponderAllowed) Sets the value ofCfnLinkProps.getHttpResponderAllowed()linkAttributes(IResolvable linkAttributes) Sets the value ofCfnLinkProps.getLinkAttributes()linkAttributes(CfnLink.LinkAttributesProperty linkAttributes) Sets the value ofCfnLinkProps.getLinkAttributes()linkLogSettings(IResolvable linkLogSettings) Sets the value ofCfnLinkProps.getLinkLogSettings()linkLogSettings(CfnLink.LinkLogSettingsProperty linkLogSettings) Sets the value ofCfnLinkProps.getLinkLogSettings()moduleConfigurationList(List<? extends Object> moduleConfigurationList) Sets the value ofCfnLinkProps.getModuleConfigurationList()moduleConfigurationList(IResolvable moduleConfigurationList) Sets the value ofCfnLinkProps.getModuleConfigurationList()peerGatewayId(String peerGatewayId) Sets the value ofCfnLinkProps.getPeerGatewayId()Sets the value ofCfnLinkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayId
Sets the value ofCfnLinkProps.getGatewayId()- Parameters:
gatewayId- The unique identifier of the gateway. This parameter is required.- Returns:
this
-
linkLogSettings
Sets the value ofCfnLinkProps.getLinkLogSettings()- Parameters:
linkLogSettings- Settings for the application logs. This parameter is required.- Returns:
this
-
linkLogSettings
@Stability(Stable) public CfnLinkProps.Builder linkLogSettings(CfnLink.LinkLogSettingsProperty linkLogSettings) Sets the value ofCfnLinkProps.getLinkLogSettings()- Parameters:
linkLogSettings- Settings for the application logs. This parameter is required.- Returns:
this
-
peerGatewayId
Sets the value ofCfnLinkProps.getPeerGatewayId()- Parameters:
peerGatewayId- The unique identifier of the peer gateway. This parameter is required.- Returns:
this
-
httpResponderAllowed
Sets the value ofCfnLinkProps.getHttpResponderAllowed()- Parameters:
httpResponderAllowed- Boolean to specify if an HTTP responder is allowed.- Returns:
this
-
httpResponderAllowed
@Stability(Stable) public CfnLinkProps.Builder httpResponderAllowed(IResolvable httpResponderAllowed) Sets the value ofCfnLinkProps.getHttpResponderAllowed()- Parameters:
httpResponderAllowed- Boolean to specify if an HTTP responder is allowed.- Returns:
this
-
linkAttributes
Sets the value ofCfnLinkProps.getLinkAttributes()- Parameters:
linkAttributes- Attributes of the link.- Returns:
this
-
linkAttributes
@Stability(Stable) public CfnLinkProps.Builder linkAttributes(CfnLink.LinkAttributesProperty linkAttributes) Sets the value ofCfnLinkProps.getLinkAttributes()- Parameters:
linkAttributes- Attributes of the link.- Returns:
this
-
moduleConfigurationList
@Stability(Stable) public CfnLinkProps.Builder moduleConfigurationList(IResolvable moduleConfigurationList) Sets the value ofCfnLinkProps.getModuleConfigurationList()- Parameters:
moduleConfigurationList- the value to be set.- Returns:
this
-
moduleConfigurationList
@Stability(Stable) public CfnLinkProps.Builder moduleConfigurationList(List<? extends Object> moduleConfigurationList) Sets the value ofCfnLinkProps.getModuleConfigurationList()- Parameters:
moduleConfigurationList- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnLinkProps.getTags()- Parameters:
tags- A map of the key-value pairs of the tag or tags to assign to the resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkProps>- Returns:
- a new instance of
CfnLinkProps - Throws:
NullPointerException- if any required attribute was not provided
-