Class GoldengateAmazonRedshiftConnectionProperties.Builder (0.42.0)

public static final class GoldengateAmazonRedshiftConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateAmazonRedshiftConnectionProperties.Builder> implements GoldengateAmazonRedshiftConnectionPropertiesOrBuilder

The properties of GoldengateAmazonRedshiftConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateAmazonRedshiftConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateAmazonRedshiftConnectionProperties build()
Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties

buildPartial()

public GoldengateAmazonRedshiftConnectionProperties buildPartial()
Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties

clear()

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

clearConnectionPasswordOptions()

public GoldengateAmazonRedshiftConnectionProperties.Builder clearConnectionPasswordOptions()
Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

clearConnectionUrl()

public GoldengateAmazonRedshiftConnectionProperties.Builder clearConnectionUrl()

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateAmazonRedshiftConnectionProperties.Builder clearPassword()

Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.

string password = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateAmazonRedshiftConnectionProperties.Builder clearPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateAmazonRedshiftConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of AmazonRedshiftConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateAmazonRedshiftConnectionProperties.Builder clearUsername()

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

getConnectionPasswordOptionsCase()

public GoldengateAmazonRedshiftConnectionProperties.ConnectionPasswordOptionsCase getConnectionPasswordOptionsCase()
Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.ConnectionPasswordOptionsCase

getConnectionUrl()

public String getConnectionUrl()

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Returns
Type Description
String

The connectionUrl.

getConnectionUrlBytes()

public ByteString getConnectionUrlBytes()

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Returns
Type Description
ByteString

The bytes for connectionUrl.

getDefaultInstanceForType()

public GoldengateAmazonRedshiftConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties

getDescriptorForType()

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

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.

string password = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.

string password = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for password.

getPasswordSecretVersion()

public String getPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The passwordSecretVersion.

getPasswordSecretVersionBytes()

public ByteString getPasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of AmazonRedshiftConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of AmazonRedshiftConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for technologyType.

getUsername()

public String getUsername()

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for username.

hasPassword()

public boolean hasPassword()

Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.

string password = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the password field is set.

hasPasswordSecretVersion()

public boolean hasPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the passwordSecretVersion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengateAmazonRedshiftConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConnectionUrl(String value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setConnectionUrl(String value)

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Parameter
Name Description
value String

The connectionUrl to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setConnectionUrlBytes(ByteString value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setConnectionUrlBytes(ByteString value)

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Parameter
Name Description
value ByteString

The bytes for connectionUrl to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setPassword(String value)

Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.

string password = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setPasswordBytes(ByteString value)

Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.

string password = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setPasswordSecretVersion(String value)

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The passwordSecretVersion to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setPasswordSecretVersionBytes(ByteString value)

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for passwordSecretVersion to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of AmazonRedshiftConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of AmazonRedshiftConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setUsername(String value)

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateAmazonRedshiftConnectionProperties.Builder setUsernameBytes(ByteString value)

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties.Builder

This builder for chaining.