Class AwsSshConfig.Builder (0.43.0)

public static final class AwsSshConfig.Builder extends GeneratedMessageV3.Builder<AwsSshConfig.Builder> implements AwsSshConfigOrBuilder

SSH configuration for AWS resources.

Protobuf type google.cloud.gkemulticloud.v1.AwsSshConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSshConfig build()
Returns
Type Description
AwsSshConfig

buildPartial()

public AwsSshConfig buildPartial()
Returns
Type Description
AwsSshConfig

clear()

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

clearEc2KeyPair()

public AwsSshConfig.Builder clearEc2KeyPair()

Required. The name of the EC2 key pair used to login into cluster machines.

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

Returns
Type Description
AwsSshConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AwsSshConfig getDefaultInstanceForType()
Returns
Type Description
AwsSshConfig

getDescriptorForType()

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

getEc2KeyPair()

public String getEc2KeyPair()

Required. The name of the EC2 key pair used to login into cluster machines.

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

Returns
Type Description
String

The ec2KeyPair.

getEc2KeyPairBytes()

public ByteString getEc2KeyPairBytes()

Required. The name of the EC2 key pair used to login into cluster machines.

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

Returns
Type Description
ByteString

The bytes for ec2KeyPair.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsSshConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEc2KeyPair(String value)

public AwsSshConfig.Builder setEc2KeyPair(String value)

Required. The name of the EC2 key pair used to login into cluster machines.

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

Parameter
Name Description
value String

The ec2KeyPair to set.

Returns
Type Description
AwsSshConfig.Builder

This builder for chaining.

setEc2KeyPairBytes(ByteString value)

public AwsSshConfig.Builder setEc2KeyPairBytes(ByteString value)

Required. The name of the EC2 key pair used to login into cluster machines.

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

Parameter
Name Description
value ByteString

The bytes for ec2KeyPair to set.

Returns
Type Description
AwsSshConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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