Class CfnPlanPropsMixin.KubernetesScalingResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.KubernetesScalingResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.KubernetesScalingResourceProperty>
- Enclosing interface:
CfnPlanPropsMixin.KubernetesScalingResourceProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.KubernetesScalingResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.KubernetesScalingResourceProperty>
A builder for
CfnPlanPropsMixin.KubernetesScalingResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlanPropsMixin.KubernetesScalingResourceProperty.getHpaName()Sets the value ofCfnPlanPropsMixin.KubernetesScalingResourceProperty.getName()Sets the value ofCfnPlanPropsMixin.KubernetesScalingResourceProperty.getNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hpaName
@Stability(Stable) public CfnPlanPropsMixin.KubernetesScalingResourceProperty.Builder hpaName(String hpaName) Sets the value ofCfnPlanPropsMixin.KubernetesScalingResourceProperty.getHpaName()- Parameters:
hpaName- The hpaname for the Kubernetes resource.- Returns:
this
-
name
@Stability(Stable) public CfnPlanPropsMixin.KubernetesScalingResourceProperty.Builder name(String name) Sets the value ofCfnPlanPropsMixin.KubernetesScalingResourceProperty.getName()- Parameters:
name- The name for the Kubernetes resource.- Returns:
this
-
namespace
@Stability(Stable) public CfnPlanPropsMixin.KubernetesScalingResourceProperty.Builder namespace(String namespace) Sets the value ofCfnPlanPropsMixin.KubernetesScalingResourceProperty.getNamespace()- Parameters:
namespace- The namespace for the Kubernetes resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.KubernetesScalingResourceProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.KubernetesScalingResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-