Class CreateGatewayMacsecCakOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayMacsecCakOptions.Builder
-
- Enclosing class:
- CreateGatewayMacsecCakOptions
public static class CreateGatewayMacsecCakOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateGatewayMacsecCakOptionsbuild()Builds a CreateGatewayMacsecCakOptions.CreateGatewayMacsecCakOptions.Builderid(String id)Set the id.CreateGatewayMacsecCakOptions.Builderkey(GatewayMacsecCakKeyReference key)Set the key.CreateGatewayMacsecCakOptions.Buildername(String name)Set the name.CreateGatewayMacsecCakOptions.Buildersession(String session)Set the session.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String id, GatewayMacsecCakKeyReference key, String name, String session)
Instantiates a new builder with required properties.- Parameters:
id- the idkey- the keyname- the namesession- the session
-
-
Method Detail
-
build
public CreateGatewayMacsecCakOptions build()
Builds a CreateGatewayMacsecCakOptions.- Returns:
- the new CreateGatewayMacsecCakOptions instance
-
id
public CreateGatewayMacsecCakOptions.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateGatewayMacsecCakOptions builder
-
key
public CreateGatewayMacsecCakOptions.Builder key(GatewayMacsecCakKeyReference key)
Set the key.- Parameters:
key- the key- Returns:
- the CreateGatewayMacsecCakOptions builder
-
name
public CreateGatewayMacsecCakOptions.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateGatewayMacsecCakOptions builder
-
session
public CreateGatewayMacsecCakOptions.Builder session(String session)
Set the session.- Parameters:
session- the session- Returns:
- the CreateGatewayMacsecCakOptions builder
-
-