Class AwsProxyConfig.Builder (0.84.0)

public static final class AwsProxyConfig.Builder extends GeneratedMessage.Builder<AwsProxyConfig.Builder> implements AwsProxyConfigOrBuilder

Details of a proxy config stored in AWS Secret Manager.

Protobuf type google.cloud.gkemulticloud.v1.AwsProxyConfig

Static Methods

getDescriptor()

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

Methods

build()

public AwsProxyConfig build()
Returns
Type Description
AwsProxyConfig

buildPartial()

public AwsProxyConfig buildPartial()
Returns
Type Description
AwsProxyConfig

clear()

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

clearSecretArn()

public AwsProxyConfig.Builder clearSecretArn()

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

clearSecretVersion()

public AwsProxyConfig.Builder clearSecretVersion()

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public AwsProxyConfig getDefaultInstanceForType()
Returns
Type Description
AwsProxyConfig

getDescriptorForType()

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

getSecretArn()

public String getSecretArn()

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Returns
Type Description
String

The secretArn.

getSecretArnBytes()

public ByteString getSecretArnBytes()

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Returns
Type Description
ByteString

The bytes for secretArn.

getSecretVersion()

public String getSecretVersion()

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Returns
Type Description
String

The secretVersion.

getSecretVersionBytes()

public ByteString getSecretVersionBytes()

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Returns
Type Description
ByteString

The bytes for secretVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsProxyConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSecretArn(String value)

public AwsProxyConfig.Builder setSecretArn(String value)

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Parameter
Name Description
value String

The secretArn to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setSecretArnBytes(ByteString value)

public AwsProxyConfig.Builder setSecretArnBytes(ByteString value)

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Parameter
Name Description
value ByteString

The bytes for secretArn to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setSecretVersion(String value)

public AwsProxyConfig.Builder setSecretVersion(String value)

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Parameter
Name Description
value String

The secretVersion to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setSecretVersionBytes(ByteString value)

public AwsProxyConfig.Builder setSecretVersionBytes(ByteString value)

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Parameter
Name Description
value ByteString

The bytes for secretVersion to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.