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