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 SummaryConstructors Constructor Description Builder()Instantiates a new builder.
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
buildpublic GatewayPatchTemplate build() Builds a GatewayPatchTemplate.- Returns:
- the new GatewayPatchTemplate instance
 
 - 
authenticationKeypublic GatewayPatchTemplate.Builder authenticationKey(GatewayPatchTemplateAuthenticationKey authenticationKey) Set the authenticationKey.- Parameters:
- authenticationKey- the authenticationKey
- Returns:
- the GatewayPatchTemplate builder
 
 - 
bfdConfigpublic GatewayPatchTemplate.Builder bfdConfig(GatewayBfdPatchTemplate bfdConfig) Set the bfdConfig.- Parameters:
- bfdConfig- the bfdConfig
- Returns:
- the GatewayPatchTemplate builder
 
 - 
bgpAsnpublic GatewayPatchTemplate.Builder bgpAsn(long bgpAsn) Set the bgpAsn.- Parameters:
- bgpAsn- the bgpAsn
- Returns:
- the GatewayPatchTemplate builder
 
 - 
bgpCerCidrpublic GatewayPatchTemplate.Builder bgpCerCidr(String bgpCerCidr) Set the bgpCerCidr.- Parameters:
- bgpCerCidr- the bgpCerCidr
- Returns:
- the GatewayPatchTemplate builder
 
 - 
bgpIbmCidrpublic GatewayPatchTemplate.Builder bgpIbmCidr(String bgpIbmCidr) Set the bgpIbmCidr.- Parameters:
- bgpIbmCidr- the bgpIbmCidr
- Returns:
- the GatewayPatchTemplate builder
 
 - 
connectionModepublic GatewayPatchTemplate.Builder connectionMode(String connectionMode) Set the connectionMode.- Parameters:
- connectionMode- the connectionMode
- Returns:
- the GatewayPatchTemplate builder
 
 - 
defaultExportRouteFilterpublic GatewayPatchTemplate.Builder defaultExportRouteFilter(String defaultExportRouteFilter) Set the defaultExportRouteFilter.- Parameters:
- defaultExportRouteFilter- the defaultExportRouteFilter
- Returns:
- the GatewayPatchTemplate builder
 
 - 
defaultImportRouteFilterpublic GatewayPatchTemplate.Builder defaultImportRouteFilter(String defaultImportRouteFilter) Set the defaultImportRouteFilter.- Parameters:
- defaultImportRouteFilter- the defaultImportRouteFilter
- Returns:
- the GatewayPatchTemplate builder
 
 - 
globalpublic GatewayPatchTemplate.Builder global(Boolean global) Set the global.- Parameters:
- global- the global
- Returns:
- the GatewayPatchTemplate builder
 
 - 
loaRejectReasonpublic GatewayPatchTemplate.Builder loaRejectReason(String loaRejectReason) Set the loaRejectReason.- Parameters:
- loaRejectReason- the loaRejectReason
- Returns:
- the GatewayPatchTemplate builder
 
 - 
macsecConfigpublic GatewayPatchTemplate.Builder macsecConfig(GatewayMacsecConfigPatchTemplate macsecConfig) Set the macsecConfig.- Parameters:
- macsecConfig- the macsecConfig
- Returns:
- the GatewayPatchTemplate builder
 
 - 
meteredpublic GatewayPatchTemplate.Builder metered(Boolean metered) Set the metered.- Parameters:
- metered- the metered
- Returns:
- the GatewayPatchTemplate builder
 
 - 
namepublic GatewayPatchTemplate.Builder name(String name) Set the name.- Parameters:
- name- the name
- Returns:
- the GatewayPatchTemplate builder
 
 - 
operationalStatuspublic GatewayPatchTemplate.Builder operationalStatus(String operationalStatus) Set the operationalStatus.- Parameters:
- operationalStatus- the operationalStatus
- Returns:
- the GatewayPatchTemplate builder
 
 - 
patchPanelCompletionNoticepublic GatewayPatchTemplate.Builder patchPanelCompletionNotice(String patchPanelCompletionNotice) Set the patchPanelCompletionNotice.- Parameters:
- patchPanelCompletionNotice- the patchPanelCompletionNotice
- Returns:
- the GatewayPatchTemplate builder
 
 - 
speedMbpspublic GatewayPatchTemplate.Builder speedMbps(long speedMbps) Set the speedMbps.- Parameters:
- speedMbps- the speedMbps
- Returns:
- the GatewayPatchTemplate builder
 
 - 
vlanpublic GatewayPatchTemplate.Builder vlan(Long vlan) Set the vlan.- Parameters:
- vlan- the vlan
- Returns:
- the GatewayPatchTemplate builder
 
 
- 
 
-