Class CreateGatewayMacsecCakOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayMacsecCakOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateGatewayMacsecCakOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createGatewayMacsecCak options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateGatewayMacsecCakOptions.BuilderBuilder.static interfaceCreateGatewayMacsecCakOptions.SessionThe intended session the key will be used to secure.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Gets the id.GatewayMacsecCakKeyReferencekey()Gets the key.Stringname()Gets the name.CreateGatewayMacsecCakOptions.BuildernewBuilder()New builder.Stringsession()Gets the session.
-
-
-
Method Detail
-
newBuilder
public CreateGatewayMacsecCakOptions.Builder newBuilder()
New builder.- Returns:
- a CreateGatewayMacsecCakOptions builder
-
id
public String id()
Gets the id. Direct Link gateway identifier.- Returns:
- the id
-
key
public GatewayMacsecCakKeyReference key()
Gets the key. The key to use for this MACsec CAK. The key must be a reference to a key in a supported key management service (HPCS or Secrets Manager).- Returns:
- the key
-
name
public String name()
Gets the name. The name identifies the connectivity association key (CAK) within the MACsec key chain. The CAK's `name` must be a hexadecimal string of even lengths between 2 to 64 inclusive. This value, along with the material of the `key`, must match on the MACsec peers.- Returns:
- the name
-
session
public String session()
Gets the session. The intended session the key will be used to secure. If the `primary` MACsec session fails due to a key/key name mismatch on the peers, the `fallback` session can take over. There must be a `primary` session CAK. A `fallback` CAK is optional.- Returns:
- the session
-
-