Class NodeGroupState.Builder
- java.lang.Object
-
- com.pulumi.openstack.containerinfra.inputs.NodeGroupState.Builder
-
- Enclosing class:
- NodeGroupState
public static final class NodeGroupState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(NodeGroupState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeGroupStatebuild()NodeGroupState.BuilderclusterId(com.pulumi.core.Output<java.lang.String> clusterId)NodeGroupState.BuilderclusterId(java.lang.String clusterId)NodeGroupState.BuildercreatedAt(com.pulumi.core.Output<java.lang.String> createdAt)NodeGroupState.BuildercreatedAt(java.lang.String createdAt)NodeGroupState.BuilderdockerVolumeSize(com.pulumi.core.Output<java.lang.Integer> dockerVolumeSize)NodeGroupState.BuilderdockerVolumeSize(java.lang.Integer dockerVolumeSize)NodeGroupState.BuilderflavorId(com.pulumi.core.Output<java.lang.String> flavorId)NodeGroupState.BuilderflavorId(java.lang.String flavorId)NodeGroupState.BuilderimageId(com.pulumi.core.Output<java.lang.String> imageId)NodeGroupState.BuilderimageId(java.lang.String imageId)NodeGroupState.Builderlabels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> labels)NodeGroupState.Builderlabels(java.util.Map<java.lang.String,java.lang.Object> labels)NodeGroupState.BuildermaxNodeCount(com.pulumi.core.Output<java.lang.Integer> maxNodeCount)NodeGroupState.BuildermaxNodeCount(java.lang.Integer maxNodeCount)NodeGroupState.BuildermergeLabels(com.pulumi.core.Output<java.lang.Boolean> mergeLabels)NodeGroupState.BuildermergeLabels(java.lang.Boolean mergeLabels)NodeGroupState.BuilderminNodeCount(com.pulumi.core.Output<java.lang.Integer> minNodeCount)NodeGroupState.BuilderminNodeCount(java.lang.Integer minNodeCount)NodeGroupState.Buildername(com.pulumi.core.Output<java.lang.String> name)NodeGroupState.Buildername(java.lang.String name)NodeGroupState.BuildernodeCount(com.pulumi.core.Output<java.lang.Integer> nodeCount)NodeGroupState.BuildernodeCount(java.lang.Integer nodeCount)NodeGroupState.BuilderprojectId(com.pulumi.core.Output<java.lang.String> projectId)NodeGroupState.BuilderprojectId(java.lang.String projectId)NodeGroupState.Builderregion(com.pulumi.core.Output<java.lang.String> region)NodeGroupState.Builderregion(java.lang.String region)NodeGroupState.Builderrole(com.pulumi.core.Output<java.lang.String> role)NodeGroupState.Builderrole(java.lang.String role)NodeGroupState.BuilderupdatedAt(com.pulumi.core.Output<java.lang.String> updatedAt)NodeGroupState.BuilderupdatedAt(java.lang.String updatedAt)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NodeGroupState defaults)
-
-
Method Detail
-
clusterId
public NodeGroupState.Builder clusterId(@Nullable com.pulumi.core.Output<java.lang.String> clusterId)
- Parameters:
clusterId- The UUID of the V1 Container Infra cluster. Changing this creates a new node group.- Returns:
- builder
-
clusterId
public NodeGroupState.Builder clusterId(java.lang.String clusterId)
- Parameters:
clusterId- The UUID of the V1 Container Infra cluster. Changing this creates a new node group.- Returns:
- builder
-
createdAt
public NodeGroupState.Builder createdAt(@Nullable com.pulumi.core.Output<java.lang.String> createdAt)
-
createdAt
public NodeGroupState.Builder createdAt(java.lang.String createdAt)
-
dockerVolumeSize
public NodeGroupState.Builder dockerVolumeSize(@Nullable com.pulumi.core.Output<java.lang.Integer> dockerVolumeSize)
- Parameters:
dockerVolumeSize- The size (in GB) of the Docker volume. Changing this creates a new node group.- Returns:
- builder
-
dockerVolumeSize
public NodeGroupState.Builder dockerVolumeSize(java.lang.Integer dockerVolumeSize)
- Parameters:
dockerVolumeSize- The size (in GB) of the Docker volume. Changing this creates a new node group.- Returns:
- builder
-
flavorId
public NodeGroupState.Builder flavorId(@Nullable com.pulumi.core.Output<java.lang.String> flavorId)
- Parameters:
flavorId- The flavor for the nodes of the node group. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this creates a new node group.- Returns:
- builder
-
flavorId
public NodeGroupState.Builder flavorId(java.lang.String flavorId)
- Parameters:
flavorId- The flavor for the nodes of the node group. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this creates a new node group.- Returns:
- builder
-
imageId
public NodeGroupState.Builder imageId(@Nullable com.pulumi.core.Output<java.lang.String> imageId)
- Parameters:
imageId- The reference to an image that is used for nodes of the node group. Can be set via the `OS_MAGNUM_IMAGE` environment variable. Changing this updates the image attribute of the existing node group.- Returns:
- builder
-
imageId
public NodeGroupState.Builder imageId(java.lang.String imageId)
- Parameters:
imageId- The reference to an image that is used for nodes of the node group. Can be set via the `OS_MAGNUM_IMAGE` environment variable. Changing this updates the image attribute of the existing node group.- Returns:
- builder
-
labels
public NodeGroupState.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> labels)
- Parameters:
labels- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.- Returns:
- builder
-
labels
public NodeGroupState.Builder labels(java.util.Map<java.lang.String,java.lang.Object> labels)
- Parameters:
labels- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.- Returns:
- builder
-
maxNodeCount
public NodeGroupState.Builder maxNodeCount(@Nullable com.pulumi.core.Output<java.lang.Integer> maxNodeCount)
- Parameters:
maxNodeCount- The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.- Returns:
- builder
-
maxNodeCount
public NodeGroupState.Builder maxNodeCount(java.lang.Integer maxNodeCount)
- Parameters:
maxNodeCount- The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.- Returns:
- builder
-
mergeLabels
public NodeGroupState.Builder mergeLabels(@Nullable com.pulumi.core.Output<java.lang.Boolean> mergeLabels)
- Parameters:
mergeLabels- Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.- Returns:
- builder
-
mergeLabels
public NodeGroupState.Builder mergeLabels(java.lang.Boolean mergeLabels)
- Parameters:
mergeLabels- Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.- Returns:
- builder
-
minNodeCount
public NodeGroupState.Builder minNodeCount(@Nullable com.pulumi.core.Output<java.lang.Integer> minNodeCount)
- Parameters:
minNodeCount- The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.- Returns:
- builder
-
minNodeCount
public NodeGroupState.Builder minNodeCount(java.lang.Integer minNodeCount)
- Parameters:
minNodeCount- The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.- Returns:
- builder
-
name
public NodeGroupState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the node group. Changing this creates a new node group.- Returns:
- builder
-
name
public NodeGroupState.Builder name(java.lang.String name)
- Parameters:
name- The name of the node group. Changing this creates a new node group.- Returns:
- builder
-
nodeCount
public NodeGroupState.Builder nodeCount(@Nullable com.pulumi.core.Output<java.lang.Integer> nodeCount)
- Parameters:
nodeCount- The number of nodes for the node group. Changing this update the number of nodes of the node group.- Returns:
- builder
-
nodeCount
public NodeGroupState.Builder nodeCount(java.lang.Integer nodeCount)
- Parameters:
nodeCount- The number of nodes for the node group. Changing this update the number of nodes of the node group.- Returns:
- builder
-
projectId
public NodeGroupState.Builder projectId(@Nullable com.pulumi.core.Output<java.lang.String> projectId)
- Parameters:
projectId- The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.- Returns:
- builder
-
projectId
public NodeGroupState.Builder projectId(java.lang.String projectId)
- Parameters:
projectId- The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.- Returns:
- builder
-
region
public NodeGroupState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the `region` argument of the provider is used. Changing this creates a new node group.- Returns:
- builder
-
region
public NodeGroupState.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the `region` argument of the provider is used. Changing this creates a new node group.- Returns:
- builder
-
role
public NodeGroupState.Builder role(@Nullable com.pulumi.core.Output<java.lang.String> role)
- Parameters:
role- The role of nodes in the node group. Changing this creates a new node group.- Returns:
- builder
-
role
public NodeGroupState.Builder role(java.lang.String role)
- Parameters:
role- The role of nodes in the node group. Changing this creates a new node group.- Returns:
- builder
-
updatedAt
public NodeGroupState.Builder updatedAt(@Nullable com.pulumi.core.Output<java.lang.String> updatedAt)
-
updatedAt
public NodeGroupState.Builder updatedAt(java.lang.String updatedAt)
-
build
public NodeGroupState build()
-
-