Class GatewayMacsecConfigTemplate.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayMacsecConfigTemplate.Builder
-
- Enclosing class:
- GatewayMacsecConfigTemplate
public static class GatewayMacsecConfigTemplate.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(Boolean active, GatewayMacsecConfigTemplatePrimaryCak primaryCak)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayMacsecConfigTemplate.Builder
active(Boolean active)
Set the active.GatewayMacsecConfigTemplate
build()
Builds a GatewayMacsecConfigTemplate.GatewayMacsecConfigTemplate.Builder
fallbackCak(GatewayMacsecConfigTemplateFallbackCak fallbackCak)
Set the fallbackCak.GatewayMacsecConfigTemplate.Builder
primaryCak(GatewayMacsecConfigTemplatePrimaryCak primaryCak)
Set the primaryCak.GatewayMacsecConfigTemplate.Builder
windowSize(long windowSize)
Set the windowSize.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(Boolean active, GatewayMacsecConfigTemplatePrimaryCak primaryCak)
Instantiates a new builder with required properties.- Parameters:
active
- the activeprimaryCak
- the primaryCak
-
-
Method Detail
-
build
public GatewayMacsecConfigTemplate build()
Builds a GatewayMacsecConfigTemplate.- Returns:
- the new GatewayMacsecConfigTemplate instance
-
active
public GatewayMacsecConfigTemplate.Builder active(Boolean active)
Set the active.- Parameters:
active
- the active- Returns:
- the GatewayMacsecConfigTemplate builder
-
fallbackCak
public GatewayMacsecConfigTemplate.Builder fallbackCak(GatewayMacsecConfigTemplateFallbackCak fallbackCak)
Set the fallbackCak.- Parameters:
fallbackCak
- the fallbackCak- Returns:
- the GatewayMacsecConfigTemplate builder
-
primaryCak
public GatewayMacsecConfigTemplate.Builder primaryCak(GatewayMacsecConfigTemplatePrimaryCak primaryCak)
Set the primaryCak.- Parameters:
primaryCak
- the primaryCak- Returns:
- the GatewayMacsecConfigTemplate builder
-
windowSize
public GatewayMacsecConfigTemplate.Builder windowSize(long windowSize)
Set the windowSize.- Parameters:
windowSize
- the windowSize- Returns:
- the GatewayMacsecConfigTemplate builder
-
-