Class AwsNodeConfig.Builder (0.40.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
TypeDescription
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
NameDescription
valuesIterable<String>

The securityGroupIds to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.NodeTaint>
Returns
TypeDescription
AwsNodeConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The securityGroupIds to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the securityGroupIds to add.

Returns
TypeDescription
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
NameDescription
valueNodeTaint
Returns
TypeDescription
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
NameDescription
builderForValueNodeTaint.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNodeTaint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeTaint.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeTaint.Builder

build()

public AwsNodeConfig build()
Returns
TypeDescription
AwsNodeConfig

buildPartial()

public AwsNodeConfig buildPartial()
Returns
TypeDescription
AwsNodeConfig

clear()

public AwsNodeConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsNodeConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public AwsNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsNodeConfig.Builder
Overrides

clearIamInstanceProfile()

public AwsNodeConfig.Builder clearIamInstanceProfile()

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AwsNodeConfig.Builder

This builder for chaining.

clearLabels()

public AwsNodeConfig.Builder clearLabels()
Returns
TypeDescription
AwsNodeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AwsNodeConfig.Builder

clearTags()

public AwsNodeConfig.Builder clearTags()
Returns
TypeDescription
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
TypeDescription
AwsNodeConfig.Builder

clone()

public AwsNodeConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AwsConfigEncryptionOrBuilder

getDefaultInstanceForType()

public AwsNodeConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsNodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIamInstanceProfile()

public String getIamInstanceProfile()

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

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

Returns
TypeDescription
String

The iamInstanceProfile.

getIamInstanceProfileBytes()

public ByteString getIamInstanceProfileBytes()

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceType.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableTags() (deprecated)

public Map<String,String> getMutableTags()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SpotConfigOrBuilder

getSshConfig()

public AwsSshConfig getSshConfig()

Optional. The SSH configuration.

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

Returns
TypeDescription
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
TypeDescription
AwsSshConfig.Builder

getSshConfigOrBuilder()

public AwsSshConfigOrBuilder getSshConfigOrBuilder()

Optional. The SSH configuration.

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

Returns
TypeDescription
AwsSshConfigOrBuilder

getTags() (deprecated)

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sshConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAwsAutoscalingGroupMetricsCollection
Returns
TypeDescription
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
NameDescription
valueAwsConfigEncryption
Returns
TypeDescription
AwsNodeConfig.Builder

mergeFrom(AwsNodeConfig other)

public AwsNodeConfig.Builder mergeFrom(AwsNodeConfig other)
Parameter
NameDescription
otherAwsNodeConfig
Returns
TypeDescription
AwsNodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsNodeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAwsInstancePlacement
Returns
TypeDescription
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
NameDescription
valueAwsProxyConfig
Returns
TypeDescription
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
NameDescription
valueAwsVolumeTemplate
Returns
TypeDescription
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
NameDescription
valueSpotConfig
Returns
TypeDescription
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
NameDescription
valueAwsSshConfig
Returns
TypeDescription
AwsNodeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueAwsAutoscalingGroupMetricsCollection
Returns
TypeDescription
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
NameDescription
builderForValueAwsAutoscalingGroupMetricsCollection.Builder
Returns
TypeDescription
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
NameDescription
valueAwsConfigEncryption
Returns
TypeDescription
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
NameDescription
builderForValueAwsConfigEncryption.Builder
Returns
TypeDescription
AwsNodeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AwsNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsNodeConfig.Builder
Overrides

setIamInstanceProfile(String value)

public AwsNodeConfig.Builder setIamInstanceProfile(String value)

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

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

Parameter
NameDescription
valueString

The iamInstanceProfile to set.

Returns
TypeDescription
AwsNodeConfig.Builder

This builder for chaining.

setIamInstanceProfileBytes(ByteString value)

public AwsNodeConfig.Builder setIamInstanceProfileBytes(ByteString value)

Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.

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

Parameter
NameDescription
valueByteString

The bytes for iamInstanceProfile to set.

Returns
TypeDescription
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
NameDescription
valueString

The imageType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for imageType to set.

Returns
TypeDescription
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
NameDescription
valueAwsInstancePlacement
Returns
TypeDescription
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
NameDescription
builderForValueAwsInstancePlacement.Builder
Returns
TypeDescription
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
NameDescription
valueString

The instanceType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceType to set.

Returns
TypeDescription
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
NameDescription
valueAwsProxyConfig
Returns
TypeDescription
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
NameDescription
builderForValueAwsProxyConfig.Builder
Returns
TypeDescription
AwsNodeConfig.Builder

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

public AwsNodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAwsVolumeTemplate
Returns
TypeDescription
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
NameDescription
builderForValueAwsVolumeTemplate.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The securityGroupIds to set.

Returns
TypeDescription
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
NameDescription
valueSpotConfig
Returns
TypeDescription
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
NameDescription
builderForValueSpotConfig.Builder
Returns
TypeDescription
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
NameDescription
valueAwsSshConfig
Returns
TypeDescription
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
NameDescription
builderForValueAwsSshConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNodeTaint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeTaint.Builder
Returns
TypeDescription
AwsNodeConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsNodeConfig.Builder
Overrides