Class AwsNodeConfig.Builder (0.45.0)

public static final class AwsNodeConfig.Builder extends GeneratedMessageV3.Builder<AwsNodeConfig.Builder> implements AwsNodeConfigOrBuilder

Parameters that describe the nodes in a cluster.

Protobuf type google.cloud.gkemulticloud.v1.AwsNodeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSecurityGroupIds(Iterable<String> values)

public AwsNodeConfig.Builder addAllSecurityGroupIds(Iterable<String> values)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The securityGroupIds to add.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

addAllTaints(Iterable<? extends NodeTaint> values)

public AwsNodeConfig.Builder addAllTaints(Iterable<? extends NodeTaint> values)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.NodeTaint>
Returns
Type Description
AwsNodeConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsNodeConfig.Builder
Overrides

addSecurityGroupIds(String value)

public AwsNodeConfig.Builder addSecurityGroupIds(String value)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The securityGroupIds to add.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

addSecurityGroupIdsBytes(ByteString value)

public AwsNodeConfig.Builder addSecurityGroupIdsBytes(ByteString value)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the securityGroupIds to add.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

addTaints(NodeTaint value)

public AwsNodeConfig.Builder addTaints(NodeTaint value)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NodeTaint
Returns
Type Description
AwsNodeConfig.Builder

addTaints(NodeTaint.Builder builderForValue)

public AwsNodeConfig.Builder addTaints(NodeTaint.Builder builderForValue)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue NodeTaint.Builder
Returns
Type Description
AwsNodeConfig.Builder

addTaints(int index, NodeTaint value)

public AwsNodeConfig.Builder addTaints(int index, NodeTaint value)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value NodeTaint
Returns
Type Description
AwsNodeConfig.Builder

addTaints(int index, NodeTaint.Builder builderForValue)

public AwsNodeConfig.Builder addTaints(int index, NodeTaint.Builder builderForValue)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NodeTaint.Builder
Returns
Type Description
AwsNodeConfig.Builder

addTaintsBuilder()

public NodeTaint.Builder addTaintsBuilder()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodeTaint.Builder

addTaintsBuilder(int index)

public NodeTaint.Builder addTaintsBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaint.Builder

build()

public AwsNodeConfig build()
Returns
Type Description
AwsNodeConfig

buildPartial()

public AwsNodeConfig buildPartial()
Returns
Type Description
AwsNodeConfig

clear()

public AwsNodeConfig.Builder clear()
Returns
Type Description
AwsNodeConfig.Builder
Overrides

clearAutoscalingMetricsCollection()

public AwsNodeConfig.Builder clearAutoscalingMetricsCollection()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clearConfigEncryption()

public AwsNodeConfig.Builder clearConfigEncryption()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsNodeConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public AwsNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsNodeConfig.Builder
Overrides

clearIamInstanceProfile()

public AwsNodeConfig.Builder clearIamInstanceProfile()

Required. The name or ARN of the AWS IAM instance profile to assign to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

clearImageType()

public AwsNodeConfig.Builder clearImageType()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

clearInstancePlacement()

public AwsNodeConfig.Builder clearInstancePlacement()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clearInstanceType()

public AwsNodeConfig.Builder clearInstanceType()

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

clearLabels()

public AwsNodeConfig.Builder clearLabels()
Returns
Type Description
AwsNodeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsNodeConfig.Builder
Overrides

clearProxyConfig()

public AwsNodeConfig.Builder clearProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clearRootVolume()

public AwsNodeConfig.Builder clearRootVolume()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clearSecurityGroupIds()

public AwsNodeConfig.Builder clearSecurityGroupIds()

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

clearSpotConfig()

public AwsNodeConfig.Builder clearSpotConfig()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clearSshConfig()

public AwsNodeConfig.Builder clearSshConfig()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clearTags()

public AwsNodeConfig.Builder clearTags()
Returns
Type Description
AwsNodeConfig.Builder

clearTaints()

public AwsNodeConfig.Builder clearTaints()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsNodeConfig.Builder

clone()

public AwsNodeConfig.Builder clone()
Returns
Type Description
AwsNodeConfig.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsTags(String key)

public boolean containsTags(String key)

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAutoscalingMetricsCollection()

public AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsAutoscalingGroupMetricsCollection

The autoscalingMetricsCollection.

getAutoscalingMetricsCollectionBuilder()

public AwsAutoscalingGroupMetricsCollection.Builder getAutoscalingMetricsCollectionBuilder()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsAutoscalingGroupMetricsCollection.Builder

getAutoscalingMetricsCollectionOrBuilder()

public AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsAutoscalingGroupMetricsCollectionOrBuilder

getConfigEncryption()

public AwsConfigEncryption getConfigEncryption()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsConfigEncryption

The configEncryption.

getConfigEncryptionBuilder()

public AwsConfigEncryption.Builder getConfigEncryptionBuilder()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsConfigEncryption.Builder

getConfigEncryptionOrBuilder()

public AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsConfigEncryptionOrBuilder

getDefaultInstanceForType()

public AwsNodeConfig getDefaultInstanceForType()
Returns
Type Description
AwsNodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIamInstanceProfile()

public String getIamInstanceProfile()

Required. The name or ARN of the AWS IAM instance profile to assign to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The iamInstanceProfile.

getIamInstanceProfileBytes()

public ByteString getIamInstanceProfileBytes()

Required. The name or ARN of the AWS IAM instance profile to assign to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for iamInstanceProfile.

getImageType()

public String getImageType()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imageType.

getImageTypeBytes()

public ByteString getImageTypeBytes()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imageType.

getInstancePlacement()

public AwsInstancePlacement getInstancePlacement()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsInstancePlacement

The instancePlacement.

getInstancePlacementBuilder()

public AwsInstancePlacement.Builder getInstancePlacementBuilder()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsInstancePlacement.Builder

getInstancePlacementOrBuilder()

public AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsInstancePlacementOrBuilder

getInstanceType()

public String getInstanceType()

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for instanceType.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableTags() (deprecated)

public Map<String,String> getMutableTags()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getProxyConfig()

public AwsProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsProxyConfig

The proxyConfig.

getProxyConfigBuilder()

public AwsProxyConfig.Builder getProxyConfigBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsProxyConfig.Builder

getProxyConfigOrBuilder()

public AwsProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsProxyConfigOrBuilder

getRootVolume()

public AwsVolumeTemplate getRootVolume()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsVolumeTemplate

The rootVolume.

getRootVolumeBuilder()

public AwsVolumeTemplate.Builder getRootVolumeBuilder()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsVolumeTemplate.Builder

getRootVolumeOrBuilder()

public AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsVolumeTemplateOrBuilder

getSecurityGroupIds(int index)

public String getSecurityGroupIds(int index)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The securityGroupIds at the given index.

getSecurityGroupIdsBytes(int index)

public ByteString getSecurityGroupIdsBytes(int index)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the securityGroupIds at the given index.

getSecurityGroupIdsCount()

public int getSecurityGroupIdsCount()

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of securityGroupIds.

getSecurityGroupIdsList()

public ProtocolStringList getSecurityGroupIdsList()

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the securityGroupIds.

getSpotConfig()

public SpotConfig getSpotConfig()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpotConfig

The spotConfig.

getSpotConfigBuilder()

public SpotConfig.Builder getSpotConfigBuilder()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpotConfig.Builder

getSpotConfigOrBuilder()

public SpotConfigOrBuilder getSpotConfigOrBuilder()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpotConfigOrBuilder

getSshConfig()

public AwsSshConfig getSshConfig()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsSshConfig

The sshConfig.

getSshConfigBuilder()

public AwsSshConfig.Builder getSshConfigBuilder()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsSshConfig.Builder

getSshConfigOrBuilder()

public AwsSshConfigOrBuilder getSshConfigOrBuilder()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsSshConfigOrBuilder

getTags() (deprecated)

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
Type Description
Map<String,String>

getTagsCount()

public int getTagsCount()

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTagsMap()

public Map<String,String> getTagsMap()

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public String getTagsOrDefault(String key, String defaultValue)

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getTaints(int index)

public NodeTaint getTaints(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaint

getTaintsBuilder(int index)

public NodeTaint.Builder getTaintsBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaint.Builder

getTaintsBuilderList()

public List<NodeTaint.Builder> getTaintsBuilderList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getTaintsCount()

public int getTaintsCount()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTaintsList()

public List<NodeTaint> getTaintsList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NodeTaint>

getTaintsOrBuilder(int index)

public NodeTaintOrBuilder getTaintsOrBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaintOrBuilder

getTaintsOrBuilderList()

public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>

hasAutoscalingMetricsCollection()

public boolean hasAutoscalingMetricsCollection()

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoscalingMetricsCollection field is set.

hasConfigEncryption()

public boolean hasConfigEncryption()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the configEncryption field is set.

hasInstancePlacement()

public boolean hasInstancePlacement()

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the instancePlacement field is set.

hasProxyConfig()

public boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the proxyConfig field is set.

hasRootVolume()

public boolean hasRootVolume()

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rootVolume field is set.

hasSpotConfig()

public boolean hasSpotConfig()

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the spotConfig field is set.

hasSshConfig()

public boolean hasSshConfig()

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sshConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutoscalingMetricsCollection(AwsAutoscalingGroupMetricsCollection value)

public AwsNodeConfig.Builder mergeAutoscalingMetricsCollection(AwsAutoscalingGroupMetricsCollection value)

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsAutoscalingGroupMetricsCollection
Returns
Type Description
AwsNodeConfig.Builder

mergeConfigEncryption(AwsConfigEncryption value)

public AwsNodeConfig.Builder mergeConfigEncryption(AwsConfigEncryption value)

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsConfigEncryption
Returns
Type Description
AwsNodeConfig.Builder

mergeFrom(AwsNodeConfig other)

public AwsNodeConfig.Builder mergeFrom(AwsNodeConfig other)
Parameter
Name Description
other AwsNodeConfig
Returns
Type Description
AwsNodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsNodeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsNodeConfig.Builder
Overrides

mergeInstancePlacement(AwsInstancePlacement value)

public AwsNodeConfig.Builder mergeInstancePlacement(AwsInstancePlacement value)

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsInstancePlacement
Returns
Type Description
AwsNodeConfig.Builder

mergeProxyConfig(AwsProxyConfig value)

public AwsNodeConfig.Builder mergeProxyConfig(AwsProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsProxyConfig
Returns
Type Description
AwsNodeConfig.Builder

mergeRootVolume(AwsVolumeTemplate value)

public AwsNodeConfig.Builder mergeRootVolume(AwsVolumeTemplate value)

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsVolumeTemplate
Returns
Type Description
AwsNodeConfig.Builder

mergeSpotConfig(SpotConfig value)

public AwsNodeConfig.Builder mergeSpotConfig(SpotConfig value)

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SpotConfig
Returns
Type Description
AwsNodeConfig.Builder

mergeSshConfig(AwsSshConfig value)

public AwsNodeConfig.Builder mergeSshConfig(AwsSshConfig value)

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsSshConfig
Returns
Type Description
AwsNodeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsNodeConfig.Builder
Overrides

putAllLabels(Map<String,String> values)

public AwsNodeConfig.Builder putAllLabels(Map<String,String> values)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AwsNodeConfig.Builder

putAllTags(Map<String,String> values)

public AwsNodeConfig.Builder putAllTags(Map<String,String> values)

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AwsNodeConfig.Builder

putLabels(String key, String value)

public AwsNodeConfig.Builder putLabels(String key, String value)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
AwsNodeConfig.Builder

putTags(String key, String value)

public AwsNodeConfig.Builder putTags(String key, String value)

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
AwsNodeConfig.Builder

removeLabels(String key)

public AwsNodeConfig.Builder removeLabels(String key)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AwsNodeConfig.Builder

removeTags(String key)

public AwsNodeConfig.Builder removeTags(String key)

Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AwsNodeConfig.Builder

removeTaints(int index)

public AwsNodeConfig.Builder removeTaints(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AwsNodeConfig.Builder

setAutoscalingMetricsCollection(AwsAutoscalingGroupMetricsCollection value)

public AwsNodeConfig.Builder setAutoscalingMetricsCollection(AwsAutoscalingGroupMetricsCollection value)

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsAutoscalingGroupMetricsCollection
Returns
Type Description
AwsNodeConfig.Builder

setAutoscalingMetricsCollection(AwsAutoscalingGroupMetricsCollection.Builder builderForValue)

public AwsNodeConfig.Builder setAutoscalingMetricsCollection(AwsAutoscalingGroupMetricsCollection.Builder builderForValue)

Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.

When unspecified, metrics collection is disabled.

.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AwsAutoscalingGroupMetricsCollection.Builder
Returns
Type Description
AwsNodeConfig.Builder

setConfigEncryption(AwsConfigEncryption value)

public AwsNodeConfig.Builder setConfigEncryption(AwsConfigEncryption value)

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsConfigEncryption
Returns
Type Description
AwsNodeConfig.Builder

setConfigEncryption(AwsConfigEncryption.Builder builderForValue)

public AwsNodeConfig.Builder setConfigEncryption(AwsConfigEncryption.Builder builderForValue)

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AwsConfigEncryption.Builder
Returns
Type Description
AwsNodeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AwsNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsNodeConfig.Builder
Overrides

setIamInstanceProfile(String value)

public AwsNodeConfig.Builder setIamInstanceProfile(String value)

Required. The name or ARN of the AWS IAM instance profile to assign to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The iamInstanceProfile to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setIamInstanceProfileBytes(ByteString value)

public AwsNodeConfig.Builder setIamInstanceProfileBytes(ByteString value)

Required. The name or ARN of the AWS IAM instance profile to assign to nodes in the pool.

string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for iamInstanceProfile to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setImageType(String value)

public AwsNodeConfig.Builder setImageType(String value)

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The imageType to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setImageTypeBytes(ByteString value)

public AwsNodeConfig.Builder setImageTypeBytes(ByteString value)

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for imageType to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setInstancePlacement(AwsInstancePlacement value)

public AwsNodeConfig.Builder setInstancePlacement(AwsInstancePlacement value)

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsInstancePlacement
Returns
Type Description
AwsNodeConfig.Builder

setInstancePlacement(AwsInstancePlacement.Builder builderForValue)

public AwsNodeConfig.Builder setInstancePlacement(AwsInstancePlacement.Builder builderForValue)

Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.

.google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AwsInstancePlacement.Builder
Returns
Type Description
AwsNodeConfig.Builder

setInstanceType(String value)

public AwsNodeConfig.Builder setInstanceType(String value)

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The instanceType to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setInstanceTypeBytes(ByteString value)

public AwsNodeConfig.Builder setInstanceTypeBytes(ByteString value)

Optional. The EC2 instance type when creating on-Demand instances.

If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.

string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for instanceType to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setProxyConfig(AwsProxyConfig value)

public AwsNodeConfig.Builder setProxyConfig(AwsProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsProxyConfig
Returns
Type Description
AwsNodeConfig.Builder

setProxyConfig(AwsProxyConfig.Builder builderForValue)

public AwsNodeConfig.Builder setProxyConfig(AwsProxyConfig.Builder builderForValue)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AwsProxyConfig.Builder
Returns
Type Description
AwsNodeConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsNodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsNodeConfig.Builder
Overrides

setRootVolume(AwsVolumeTemplate value)

public AwsNodeConfig.Builder setRootVolume(AwsVolumeTemplate value)

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsVolumeTemplate
Returns
Type Description
AwsNodeConfig.Builder

setRootVolume(AwsVolumeTemplate.Builder builderForValue)

public AwsNodeConfig.Builder setRootVolume(AwsVolumeTemplate.Builder builderForValue)

Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.

When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AwsVolumeTemplate.Builder
Returns
Type Description
AwsNodeConfig.Builder

setSecurityGroupIds(int index, String value)

public AwsNodeConfig.Builder setSecurityGroupIds(int index, String value)

Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.

repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The securityGroupIds to set.

Returns
Type Description
AwsNodeConfig.Builder

This builder for chaining.

setSpotConfig(SpotConfig value)

public AwsNodeConfig.Builder setSpotConfig(SpotConfig value)

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SpotConfig
Returns
Type Description
AwsNodeConfig.Builder

setSpotConfig(SpotConfig.Builder builderForValue)

public AwsNodeConfig.Builder setSpotConfig(SpotConfig.Builder builderForValue)

Optional. Configuration for provisioning EC2 Spot instances

When specified, the node pool will provision Spot instances from the set of spot_config.instance_types. This field is mutually exclusive with instance_type.

.google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SpotConfig.Builder
Returns
Type Description
AwsNodeConfig.Builder

setSshConfig(AwsSshConfig value)

public AwsNodeConfig.Builder setSshConfig(AwsSshConfig value)

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AwsSshConfig
Returns
Type Description
AwsNodeConfig.Builder

setSshConfig(AwsSshConfig.Builder builderForValue)

public AwsNodeConfig.Builder setSshConfig(AwsSshConfig.Builder builderForValue)

Optional. The SSH configuration.

.google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AwsSshConfig.Builder
Returns
Type Description
AwsNodeConfig.Builder

setTaints(int index, NodeTaint value)

public AwsNodeConfig.Builder setTaints(int index, NodeTaint value)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value NodeTaint
Returns
Type Description
AwsNodeConfig.Builder

setTaints(int index, NodeTaint.Builder builderForValue)

public AwsNodeConfig.Builder setTaints(int index, NodeTaint.Builder builderForValue)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NodeTaint.Builder
Returns
Type Description
AwsNodeConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsNodeConfig.Builder
Overrides