Class GatewayMacsecConfigTemplate
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayMacsecConfigTemplate
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GatewayMacsecConfigTemplate extends com.ibm.cloud.sdk.core.service.model.GenericModel
MACsec configuration information. Contact IBM support for access to MACsec.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GatewayMacsecConfigTemplate.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
active()
Gets the active.GatewayMacsecConfigTemplateFallbackCak
fallbackCak()
Gets the fallbackCak.GatewayMacsecConfigTemplate.Builder
newBuilder()
New builder.GatewayMacsecConfigTemplatePrimaryCak
primaryCak()
Gets the primaryCak.Long
windowSize()
Gets the windowSize.
-
-
-
Method Detail
-
newBuilder
public GatewayMacsecConfigTemplate.Builder newBuilder()
New builder.- Returns:
- a GatewayMacsecConfigTemplate 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 GatewayMacsecConfigTemplateFallbackCak fallbackCak()
Gets the fallbackCak. Fallback connectivity association key. The `fallback_cak` crn cannot match the `primary_cak` crn. 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].- Returns:
- the fallbackCak
-
primaryCak
public GatewayMacsecConfigTemplatePrimaryCak 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].- Returns:
- the primaryCak
-
windowSize
public Long windowSize()
Gets the windowSize. replay protection window size.- Returns:
- the windowSize
-
-