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.GenericModelMACsec 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 SummaryNested Classes Modifier and Type Class Description static classGatewayMacsecConfigPatchTemplate.BuilderBuilder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Gets the active.GatewayMacsecConfigPatchTemplateFallbackCakfallbackCak()Gets the fallbackCak.GatewayMacsecConfigPatchTemplate.BuildernewBuilder()New builder.GatewayMacsecConfigPatchTemplatePrimaryCakprimaryCak()Gets the primaryCak.LongwindowSize()Gets the windowSize.
 
- 
- 
- 
Method Detail- 
newBuilderpublic GatewayMacsecConfigPatchTemplate.Builder newBuilder() New builder.- Returns:
- a GatewayMacsecConfigPatchTemplate builder
 
 - 
activepublic Boolean active() Gets the active. Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway.- Returns:
- the active
 
 - 
fallbackCakpublic 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
 
 - 
primaryCakpublic 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
 
 - 
windowSizepublic Long windowSize() Gets the windowSize. replay protection window size.- Returns:
- the windowSize
 
 
- 
 
-