Class SetGatewayMacsecOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class SetGatewayMacsecOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The setGatewayMacsec options.
    • Method Detail

      • id

        public String id()
        Gets the id. Direct Link gateway identifier.
        Returns:
        the id
      • active

        public Boolean active()
        Gets the active. Determines if the MACsec feature should initially be active (true) or inactive (false) for a gateway.
        Returns:
        the active
      • caks

        public List<GatewayMacsecCakPrototype> caks()
        Gets the caks. List of all connectivity association keys (CAKs) to be associated associated with the MACsec feature on a direct link. There must be at least one CAK with `session`: `primary`. There can be at most one CAK with `session`: `fallback` All CAKs must reference a unique key.
        Returns:
        the caks
      • sakRekey

        public SakRekeyPrototype sakRekey()
        Gets the sakRekey. Determines how SAK rekeying occurs. It is either timer based or based on the amount of used packet numbers.
        Returns:
        the sakRekey
      • securityPolicy

        public String securityPolicy()
        Gets the securityPolicy. Determines how packets without MACsec headers are handled. `must_secure` - Packets without MACsec headers are dropped. This policy should be used to prefer security over network availability. `should_secure` - Packets without MACsec headers are allowed. This policy should be used to prefer network availability over security.
        Returns:
        the securityPolicy
      • windowSize

        public Long windowSize()
        Gets the windowSize. The window size determines the number of frames in a window for replay protection. Replay protection is used to counter replay attacks. Frames within a window size can be out of order and are not replay protected.
        Returns:
        the windowSize
      • ifMatch

        public String ifMatch()
        Gets the ifMatch. If present, the request will fail if the specified ETag value does not match the resource's current ETag value. `If-Match` is required when the resource exists and has an ETag value.
        Returns:
        the ifMatch