Class 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.
    • Method Detail

      • 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