public static final class AwsProxyConfig.Builder extends GeneratedMessage.Builder<AwsProxyConfig.Builder> implements AwsProxyConfigOrBuilderDetails of a proxy config stored in AWS Secret Manager.
Protobuf type google.cloud.gkemulticloud.v1.AwsProxyConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AwsProxyConfig.BuilderImplements
AwsProxyConfigOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AwsProxyConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AwsProxyConfig.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for secretVersion to set. |
| Returns | |
|---|---|
| Type | Description |
AwsProxyConfig.Builder |
This builder for chaining. |