Class GatewayPatchTemplate.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayPatchTemplate.Builder
-
- Enclosing class:
- GatewayPatchTemplate
public static class GatewayPatchTemplate.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
-
-
-
Method Detail
-
build
public GatewayPatchTemplate build()
Builds a GatewayPatchTemplate.- Returns:
- the new GatewayPatchTemplate instance
-
authenticationKey
public GatewayPatchTemplate.Builder authenticationKey(GatewayPatchTemplateAuthenticationKey authenticationKey)
Set the authenticationKey.- Parameters:
authenticationKey
- the authenticationKey- Returns:
- the GatewayPatchTemplate builder
-
bfdConfig
public GatewayPatchTemplate.Builder bfdConfig(GatewayBfdPatchTemplate bfdConfig)
Set the bfdConfig.- Parameters:
bfdConfig
- the bfdConfig- Returns:
- the GatewayPatchTemplate builder
-
bgpAsn
public GatewayPatchTemplate.Builder bgpAsn(long bgpAsn)
Set the bgpAsn.- Parameters:
bgpAsn
- the bgpAsn- Returns:
- the GatewayPatchTemplate builder
-
bgpCerCidr
public GatewayPatchTemplate.Builder bgpCerCidr(String bgpCerCidr)
Set the bgpCerCidr.- Parameters:
bgpCerCidr
- the bgpCerCidr- Returns:
- the GatewayPatchTemplate builder
-
bgpIbmCidr
public GatewayPatchTemplate.Builder bgpIbmCidr(String bgpIbmCidr)
Set the bgpIbmCidr.- Parameters:
bgpIbmCidr
- the bgpIbmCidr- Returns:
- the GatewayPatchTemplate builder
-
connectionMode
public GatewayPatchTemplate.Builder connectionMode(String connectionMode)
Set the connectionMode.- Parameters:
connectionMode
- the connectionMode- Returns:
- the GatewayPatchTemplate builder
-
defaultExportRouteFilter
public GatewayPatchTemplate.Builder defaultExportRouteFilter(String defaultExportRouteFilter)
Set the defaultExportRouteFilter.- Parameters:
defaultExportRouteFilter
- the defaultExportRouteFilter- Returns:
- the GatewayPatchTemplate builder
-
defaultImportRouteFilter
public GatewayPatchTemplate.Builder defaultImportRouteFilter(String defaultImportRouteFilter)
Set the defaultImportRouteFilter.- Parameters:
defaultImportRouteFilter
- the defaultImportRouteFilter- Returns:
- the GatewayPatchTemplate builder
-
global
public GatewayPatchTemplate.Builder global(Boolean global)
Set the global.- Parameters:
global
- the global- Returns:
- the GatewayPatchTemplate builder
-
loaRejectReason
public GatewayPatchTemplate.Builder loaRejectReason(String loaRejectReason)
Set the loaRejectReason.- Parameters:
loaRejectReason
- the loaRejectReason- Returns:
- the GatewayPatchTemplate builder
-
macsecConfig
public GatewayPatchTemplate.Builder macsecConfig(GatewayMacsecConfigPatchTemplate macsecConfig)
Set the macsecConfig.- Parameters:
macsecConfig
- the macsecConfig- Returns:
- the GatewayPatchTemplate builder
-
metered
public GatewayPatchTemplate.Builder metered(Boolean metered)
Set the metered.- Parameters:
metered
- the metered- Returns:
- the GatewayPatchTemplate builder
-
name
public GatewayPatchTemplate.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the GatewayPatchTemplate builder
-
operationalStatus
public GatewayPatchTemplate.Builder operationalStatus(String operationalStatus)
Set the operationalStatus.- Parameters:
operationalStatus
- the operationalStatus- Returns:
- the GatewayPatchTemplate builder
-
patchPanelCompletionNotice
public GatewayPatchTemplate.Builder patchPanelCompletionNotice(String patchPanelCompletionNotice)
Set the patchPanelCompletionNotice.- Parameters:
patchPanelCompletionNotice
- the patchPanelCompletionNotice- Returns:
- the GatewayPatchTemplate builder
-
speedMbps
public GatewayPatchTemplate.Builder speedMbps(long speedMbps)
Set the speedMbps.- Parameters:
speedMbps
- the speedMbps- Returns:
- the GatewayPatchTemplate builder
-
vlan
public GatewayPatchTemplate.Builder vlan(Long vlan)
Set the vlan.- Parameters:
vlan
- the vlan- Returns:
- the GatewayPatchTemplate builder
-
-