Class GatewayMacsecConfigPatchTemplate
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayMacsecConfigPatchTemplate
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GatewayMacsecConfigPatchTemplate extends com.ibm.cloud.sdk.core.service.model.GenericModel
MACsec configuration information. When patching any macsec_config fields, no other fields may be specified in the patch request. Contact IBM support for access to MACsec. A MACsec config cannot be added to a gateway created without MACsec.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GatewayMacsecConfigPatchTemplate.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
active()
Gets the active.GatewayMacsecConfigPatchTemplateFallbackCak
fallbackCak()
Gets the fallbackCak.GatewayMacsecConfigPatchTemplate.Builder
newBuilder()
New builder.GatewayMacsecConfigPatchTemplatePrimaryCak
primaryCak()
Gets the primaryCak.Long
windowSize()
Gets the windowSize.
-
-
-
Method Detail
-
newBuilder
public GatewayMacsecConfigPatchTemplate.Builder newBuilder()
New builder.- Returns:
- a GatewayMacsecConfigPatchTemplate builder
-
active
public Boolean active()
Gets the active. Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway.- Returns:
- the active
-
fallbackCak
public GatewayMacsecConfigPatchTemplateFallbackCak fallbackCak()
Gets the fallbackCak. Fallback connectivity association key. MACsec keys must be type=standard with key name lengths between 2 to 64 inclusive and contain only characters [a-fA-F0-9]. The key material must be exactly 64 characters in length and contain only [a-fA-F0-9]. To clear the optional `fallback_cak` field patch its crn to `""`. A gateway's `fallback_cak` crn cannot match its `primary_cak` crn.- Returns:
- the fallbackCak
-
primaryCak
public GatewayMacsecConfigPatchTemplatePrimaryCak primaryCak()
Gets the primaryCak. Desired primary connectivity association key. MACsec keys must be type=standard with key name lengths between 2 to 64 inclusive and contain only characters [a-fA-F0-9]. The key material must be exactly 64 characters in length and contain only [a-fA-F0-9]. A gateway's `primary_cak` crn cannot match its `fallback_cak` crn.- Returns:
- the primaryCak
-
windowSize
public Long windowSize()
Gets the windowSize. replay protection window size.- Returns:
- the windowSize
-
-