Class AwsControlPlane.Builder (0.10.0)

public static final class AwsControlPlane.Builder extends GeneratedMessageV3.Builder<AwsControlPlane.Builder> implements AwsControlPlaneOrBuilder

ControlPlane defines common parameters between control plane nodes.

Protobuf type google.cloud.gkemulticloud.v1.AwsControlPlane

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSecurityGroupIds(Iterable<String> values)

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

Optional. The IDs of additional security groups to add to control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

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

Parameter
NameDescription
valuesIterable<String>

The securityGroupIds to add.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

addAllSubnetIds(Iterable<String> values)

public AwsControlPlane.Builder addAllSubnetIds(Iterable<String> values)

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<String>

The subnetIds to add.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSecurityGroupIds(String value)

public AwsControlPlane.Builder addSecurityGroupIds(String value)

Optional. The IDs of additional security groups to add to control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

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

Parameter
NameDescription
valueString

The securityGroupIds to add.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

addSecurityGroupIdsBytes(ByteString value)

public AwsControlPlane.Builder addSecurityGroupIdsBytes(ByteString value)

Optional. The IDs of additional security groups to add to control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

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

Parameter
NameDescription
valueByteString

The bytes of the securityGroupIds to add.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

addSubnetIds(String value)

public AwsControlPlane.Builder addSubnetIds(String value)

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The subnetIds to add.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

addSubnetIdsBytes(ByteString value)

public AwsControlPlane.Builder addSubnetIdsBytes(ByteString value)

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes of the subnetIds to add.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

build()

public AwsControlPlane build()
Returns
TypeDescription
AwsControlPlane

buildPartial()

public AwsControlPlane buildPartial()
Returns
TypeDescription
AwsControlPlane

clear()

public AwsControlPlane.Builder clear()
Returns
TypeDescription
AwsControlPlane.Builder
Overrides

clearAwsServicesAuthentication()

public AwsControlPlane.Builder clearAwsServicesAuthentication()

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsControlPlane.Builder

clearConfigEncryption()

public AwsControlPlane.Builder clearConfigEncryption()

Required. Config encryption for user data.

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

Returns
TypeDescription
AwsControlPlane.Builder

clearDatabaseEncryption()

public AwsControlPlane.Builder clearDatabaseEncryption()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsControlPlane.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIamInstanceProfile()

public AwsControlPlane.Builder clearIamInstanceProfile()

Required. The name or ARN of the AWS IAM instance profile to assign to each control plane replica.

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

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

clearInstancePlacement()

public AwsControlPlane.Builder clearInstancePlacement()

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Returns
TypeDescription
AwsControlPlane.Builder

clearInstanceType()

public AwsControlPlane.Builder clearInstanceType()

Optional. The AWS instance type. When unspecified, it uses a default based on the cluster's version.

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

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

clearMainVolume()

public AwsControlPlane.Builder clearMainVolume()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsControlPlane.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsControlPlane.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsControlPlane.Builder
Overrides

clearProxyConfig()

public AwsControlPlane.Builder clearProxyConfig()

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

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

Returns
TypeDescription
AwsControlPlane.Builder

clearRootVolume()

public AwsControlPlane.Builder clearRootVolume()

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Returns
TypeDescription
AwsControlPlane.Builder

clearSecurityGroupIds()

public AwsControlPlane.Builder clearSecurityGroupIds()

Optional. The IDs of additional security groups to add to control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

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

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

clearSshConfig()

public AwsControlPlane.Builder clearSshConfig()

Optional. SSH configuration for how to access the underlying control plane machines.

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

Returns
TypeDescription
AwsControlPlane.Builder

clearSubnetIds()

public AwsControlPlane.Builder clearSubnetIds()

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

clearTags()

public AwsControlPlane.Builder clearTags()
Returns
TypeDescription
AwsControlPlane.Builder

clearVersion()

public AwsControlPlane.Builder clearVersion()

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.

string version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

clone()

public AwsControlPlane.Builder clone()
Returns
TypeDescription
AwsControlPlane.Builder
Overrides

containsTags(String key)

public boolean containsTags(String key)

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAwsServicesAuthentication()

public AwsServicesAuthentication getAwsServicesAuthentication()

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsServicesAuthentication

The awsServicesAuthentication.

getAwsServicesAuthenticationBuilder()

public AwsServicesAuthentication.Builder getAwsServicesAuthenticationBuilder()

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsServicesAuthentication.Builder

getAwsServicesAuthenticationOrBuilder()

public AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder()

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsServicesAuthenticationOrBuilder

getConfigEncryption()

public AwsConfigEncryption getConfigEncryption()

Required. Config encryption for user data.

.google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.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 = 17 [(.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 = 17 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsConfigEncryptionOrBuilder

getDatabaseEncryption()

public AwsDatabaseEncryption getDatabaseEncryption()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsDatabaseEncryption

The databaseEncryption.

getDatabaseEncryptionBuilder()

public AwsDatabaseEncryption.Builder getDatabaseEncryptionBuilder()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsDatabaseEncryption.Builder

getDatabaseEncryptionOrBuilder()

public AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsDatabaseEncryptionOrBuilder

getDefaultInstanceForType()

public AwsControlPlane getDefaultInstanceForType()
Returns
TypeDescription
AwsControlPlane

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIamInstanceProfile()

public String getIamInstanceProfile()

Required. The name or ARN of the AWS IAM instance profile to assign to each control plane replica.

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

Returns
TypeDescription
String

The iamInstanceProfile.

getIamInstanceProfileBytes()

public ByteString getIamInstanceProfileBytes()

Required. The name or ARN of the AWS IAM instance profile to assign to each control plane replica.

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

Returns
TypeDescription
ByteString

The bytes for iamInstanceProfile.

getInstancePlacement()

public AwsInstancePlacement getInstancePlacement()

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Returns
TypeDescription
AwsInstancePlacement

The instancePlacement.

getInstancePlacementBuilder()

public AwsInstancePlacement.Builder getInstancePlacementBuilder()

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Returns
TypeDescription
AwsInstancePlacement.Builder

getInstancePlacementOrBuilder()

public AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder()

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Returns
TypeDescription
AwsInstancePlacementOrBuilder

getInstanceType()

public String getInstanceType()

Optional. The AWS instance type. When unspecified, it uses a default based on the cluster's version.

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

Returns
TypeDescription
String

The instanceType.

getInstanceTypeBytes()

public ByteString getInstanceTypeBytes()

Optional. The AWS instance type. When unspecified, it uses a default based on the cluster's version.

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

Returns
TypeDescription
ByteString

The bytes for instanceType.

getMainVolume()

public AwsVolumeTemplate getMainVolume()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsVolumeTemplate

The mainVolume.

getMainVolumeBuilder()

public AwsVolumeTemplate.Builder getMainVolumeBuilder()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsVolumeTemplate.Builder

getMainVolumeOrBuilder()

public AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsVolumeTemplateOrBuilder

getMutableTags()

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 = 16 [(.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 = 16 [(.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 = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsProxyConfigOrBuilder

getRootVolume()

public AwsVolumeTemplate getRootVolume()

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Returns
TypeDescription
AwsVolumeTemplate

The rootVolume.

getRootVolumeBuilder()

public AwsVolumeTemplate.Builder getRootVolumeBuilder()

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Returns
TypeDescription
AwsVolumeTemplate.Builder

getRootVolumeOrBuilder()

public AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder()

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.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 control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

repeated string security_group_ids = 5 [(.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 control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

repeated string security_group_ids = 5 [(.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 control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

repeated string security_group_ids = 5 [(.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 control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

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

Returns
TypeDescription
ProtocolStringList

A list containing the securityGroupIds.

getSshConfig()

public AwsSshConfig getSshConfig()

Optional. SSH configuration for how to access the underlying control plane machines.

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

Returns
TypeDescription
AwsSshConfig

The sshConfig.

getSshConfigBuilder()

public AwsSshConfig.Builder getSshConfigBuilder()

Optional. SSH configuration for how to access the underlying control plane machines.

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

Returns
TypeDescription
AwsSshConfig.Builder

getSshConfigOrBuilder()

public AwsSshConfigOrBuilder getSshConfigOrBuilder()

Optional. SSH configuration for how to access the underlying control plane machines.

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

Returns
TypeDescription
AwsSshConfigOrBuilder

getSubnetIds(int index)

public String getSubnetIds(int index)

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The subnetIds at the given index.

getSubnetIdsBytes(int index)

public ByteString getSubnetIdsBytes(int index)

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the subnetIds at the given index.

getSubnetIdsCount()

public int getSubnetIdsCount()

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of subnetIds.

getSubnetIdsList()

public ProtocolStringList getSubnetIdsList()

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the subnetIds.

getTags()

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
TypeDescription
Map<String,String>

getTagsCount()

public int getTagsCount()

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getTagsMap()

public Map<String,String> getTagsMap()

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public String getTagsOrDefault(String key, String defaultValue)

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getVersion()

public String getVersion()

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.

string version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.

string version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for version.

hasAwsServicesAuthentication()

public boolean hasAwsServicesAuthentication()

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the awsServicesAuthentication field is set.

hasConfigEncryption()

public boolean hasConfigEncryption()

Required. Config encryption for user data.

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

Returns
TypeDescription
boolean

Whether the configEncryption field is set.

hasDatabaseEncryption()

public boolean hasDatabaseEncryption()

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the databaseEncryption field is set.

hasInstancePlacement()

public boolean hasInstancePlacement()

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Returns
TypeDescription
boolean

Whether the instancePlacement field is set.

hasMainVolume()

public boolean hasMainVolume()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the mainVolume field is set.

hasProxyConfig()

public boolean hasProxyConfig()

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

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

Returns
TypeDescription
boolean

Whether the proxyConfig field is set.

hasRootVolume()

public boolean hasRootVolume()

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Returns
TypeDescription
boolean

Whether the rootVolume field is set.

hasSshConfig()

public boolean hasSshConfig()

Optional. SSH configuration for how to access the underlying control plane machines.

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

Returns
TypeDescription
boolean

Whether the sshConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAwsServicesAuthentication(AwsServicesAuthentication value)

public AwsControlPlane.Builder mergeAwsServicesAuthentication(AwsServicesAuthentication value)

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsServicesAuthentication
Returns
TypeDescription
AwsControlPlane.Builder

mergeConfigEncryption(AwsConfigEncryption value)

public AwsControlPlane.Builder mergeConfigEncryption(AwsConfigEncryption value)

Required. Config encryption for user data.

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

Parameter
NameDescription
valueAwsConfigEncryption
Returns
TypeDescription
AwsControlPlane.Builder

mergeDatabaseEncryption(AwsDatabaseEncryption value)

public AwsControlPlane.Builder mergeDatabaseEncryption(AwsDatabaseEncryption value)

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsDatabaseEncryption
Returns
TypeDescription
AwsControlPlane.Builder

mergeFrom(AwsControlPlane other)

public AwsControlPlane.Builder mergeFrom(AwsControlPlane other)
Parameter
NameDescription
otherAwsControlPlane
Returns
TypeDescription
AwsControlPlane.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AwsControlPlane.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsControlPlane.Builder
Overrides

mergeInstancePlacement(AwsInstancePlacement value)

public AwsControlPlane.Builder mergeInstancePlacement(AwsInstancePlacement value)

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Parameter
NameDescription
valueAwsInstancePlacement
Returns
TypeDescription
AwsControlPlane.Builder

mergeMainVolume(AwsVolumeTemplate value)

public AwsControlPlane.Builder mergeMainVolume(AwsVolumeTemplate value)

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAwsVolumeTemplate
Returns
TypeDescription
AwsControlPlane.Builder

mergeProxyConfig(AwsProxyConfig value)

public AwsControlPlane.Builder mergeProxyConfig(AwsProxyConfig value)

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

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

Parameter
NameDescription
valueAwsProxyConfig
Returns
TypeDescription
AwsControlPlane.Builder

mergeRootVolume(AwsVolumeTemplate value)

public AwsControlPlane.Builder mergeRootVolume(AwsVolumeTemplate value)

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Parameter
NameDescription
valueAwsVolumeTemplate
Returns
TypeDescription
AwsControlPlane.Builder

mergeSshConfig(AwsSshConfig value)

public AwsControlPlane.Builder mergeSshConfig(AwsSshConfig value)

Optional. SSH configuration for how to access the underlying control plane machines.

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

Parameter
NameDescription
valueAwsSshConfig
Returns
TypeDescription
AwsControlPlane.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsControlPlane.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsControlPlane.Builder
Overrides

putAllTags(Map<String,String> values)

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

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
AwsControlPlane.Builder

putTags(String key, String value)

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

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
AwsControlPlane.Builder

removeTags(String key)

public AwsControlPlane.Builder removeTags(String key)

Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. 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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
AwsControlPlane.Builder

setAwsServicesAuthentication(AwsServicesAuthentication value)

public AwsControlPlane.Builder setAwsServicesAuthentication(AwsServicesAuthentication value)

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsServicesAuthentication
Returns
TypeDescription
AwsControlPlane.Builder

setAwsServicesAuthentication(AwsServicesAuthentication.Builder builderForValue)

public AwsControlPlane.Builder setAwsServicesAuthentication(AwsServicesAuthentication.Builder builderForValue)

Required. Authentication configuration for management of AWS resources.

.google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAwsServicesAuthentication.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setConfigEncryption(AwsConfigEncryption value)

public AwsControlPlane.Builder setConfigEncryption(AwsConfigEncryption value)

Required. Config encryption for user data.

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

Parameter
NameDescription
valueAwsConfigEncryption
Returns
TypeDescription
AwsControlPlane.Builder

setConfigEncryption(AwsConfigEncryption.Builder builderForValue)

public AwsControlPlane.Builder setConfigEncryption(AwsConfigEncryption.Builder builderForValue)

Required. Config encryption for user data.

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

Parameter
NameDescription
builderForValueAwsConfigEncryption.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setDatabaseEncryption(AwsDatabaseEncryption value)

public AwsControlPlane.Builder setDatabaseEncryption(AwsDatabaseEncryption value)

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsDatabaseEncryption
Returns
TypeDescription
AwsControlPlane.Builder

setDatabaseEncryption(AwsDatabaseEncryption.Builder builderForValue)

public AwsControlPlane.Builder setDatabaseEncryption(AwsDatabaseEncryption.Builder builderForValue)

Required. The ARN of the AWS KMS key used to encrypt cluster secrets.

.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAwsDatabaseEncryption.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIamInstanceProfile(String value)

public AwsControlPlane.Builder setIamInstanceProfile(String value)

Required. The name or ARN of the AWS IAM instance profile to assign to each control plane replica.

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

Parameter
NameDescription
valueString

The iamInstanceProfile to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setIamInstanceProfileBytes(ByteString value)

public AwsControlPlane.Builder setIamInstanceProfileBytes(ByteString value)

Required. The name or ARN of the AWS IAM instance profile to assign to each control plane replica.

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

Parameter
NameDescription
valueByteString

The bytes for iamInstanceProfile to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setInstancePlacement(AwsInstancePlacement value)

public AwsControlPlane.Builder setInstancePlacement(AwsInstancePlacement value)

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Parameter
NameDescription
valueAwsInstancePlacement
Returns
TypeDescription
AwsControlPlane.Builder

setInstancePlacement(AwsInstancePlacement.Builder builderForValue)

public AwsControlPlane.Builder setInstancePlacement(AwsInstancePlacement.Builder builderForValue)

Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

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

Parameter
NameDescription
builderForValueAwsInstancePlacement.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setInstanceType(String value)

public AwsControlPlane.Builder setInstanceType(String value)

Optional. The AWS instance type. When unspecified, it uses a default based on the cluster's version.

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

Parameter
NameDescription
valueString

The instanceType to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setInstanceTypeBytes(ByteString value)

public AwsControlPlane.Builder setInstanceTypeBytes(ByteString value)

Optional. The AWS instance type. When unspecified, it uses a default based on the cluster's version.

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

Parameter
NameDescription
valueByteString

The bytes for instanceType to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setMainVolume(AwsVolumeTemplate value)

public AwsControlPlane.Builder setMainVolume(AwsVolumeTemplate value)

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAwsVolumeTemplate
Returns
TypeDescription
AwsControlPlane.Builder

setMainVolume(AwsVolumeTemplate.Builder builderForValue)

public AwsControlPlane.Builder setMainVolume(AwsVolumeTemplate.Builder builderForValue)

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.

.google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueAwsVolumeTemplate.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setProxyConfig(AwsProxyConfig value)

public AwsControlPlane.Builder setProxyConfig(AwsProxyConfig value)

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

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

Parameter
NameDescription
valueAwsProxyConfig
Returns
TypeDescription
AwsControlPlane.Builder

setProxyConfig(AwsProxyConfig.Builder builderForValue)

public AwsControlPlane.Builder setProxyConfig(AwsProxyConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueAwsProxyConfig.Builder
Returns
TypeDescription
AwsControlPlane.Builder

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

public AwsControlPlane.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsControlPlane.Builder
Overrides

setRootVolume(AwsVolumeTemplate value)

public AwsControlPlane.Builder setRootVolume(AwsVolumeTemplate value)

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Parameter
NameDescription
valueAwsVolumeTemplate
Returns
TypeDescription
AwsControlPlane.Builder

setRootVolume(AwsVolumeTemplate.Builder builderForValue)

public AwsControlPlane.Builder setRootVolume(AwsVolumeTemplate.Builder builderForValue)

Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.

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

Parameter
NameDescription
builderForValueAwsVolumeTemplate.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setSecurityGroupIds(int index, String value)

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

Optional. The IDs of additional security groups to add to control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The securityGroupIds to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setSshConfig(AwsSshConfig value)

public AwsControlPlane.Builder setSshConfig(AwsSshConfig value)

Optional. SSH configuration for how to access the underlying control plane machines.

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

Parameter
NameDescription
valueAwsSshConfig
Returns
TypeDescription
AwsControlPlane.Builder

setSshConfig(AwsSshConfig.Builder builderForValue)

public AwsControlPlane.Builder setSshConfig(AwsSshConfig.Builder builderForValue)

Optional. SSH configuration for how to access the underlying control plane machines.

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

Parameter
NameDescription
builderForValueAwsSshConfig.Builder
Returns
TypeDescription
AwsControlPlane.Builder

setSubnetIds(int index, String value)

public AwsControlPlane.Builder setSubnetIds(int index, String value)

Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).

repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The subnetIds to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public AwsControlPlane.Builder setVersion(String value)

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.

string version = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AwsControlPlane.Builder setVersionBytes(ByteString value)

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.

string version = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AwsControlPlane.Builder

This builder for chaining.