Class AwsAccessRole.Builder (2.85.0)

public static final class AwsAccessRole.Builder extends GeneratedMessage.Builder<AwsAccessRole.Builder> implements AwsAccessRoleOrBuilder

Authentication method for Amazon Web Services (AWS) that uses Google owned Google service account to assume into customer's AWS IAM Role.

Protobuf type google.cloud.bigquery.connection.v1.AwsAccessRole

Static Methods

getDescriptor()

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

Methods

build()

public AwsAccessRole build()
Returns
Type Description
AwsAccessRole

buildPartial()

public AwsAccessRole buildPartial()
Returns
Type Description
AwsAccessRole

clear()

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

clearIamRoleId()

public AwsAccessRole.Builder clearIamRoleId()

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

clearIdentity()

public AwsAccessRole.Builder clearIdentity()

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

getDefaultInstanceForType()

public AwsAccessRole getDefaultInstanceForType()
Returns
Type Description
AwsAccessRole

getDescriptorForType()

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

getIamRoleId()

public String getIamRoleId()

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Returns
Type Description
String

The iamRoleId.

getIamRoleIdBytes()

public ByteString getIamRoleIdBytes()

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Returns
Type Description
ByteString

The bytes for iamRoleId.

getIdentity()

public String getIdentity()

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Returns
Type Description
String

The identity.

getIdentityBytes()

public ByteString getIdentityBytes()

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Returns
Type Description
ByteString

The bytes for identity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsAccessRole other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIamRoleId(String value)

public AwsAccessRole.Builder setIamRoleId(String value)

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Parameter
Name Description
value String

The iamRoleId to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setIamRoleIdBytes(ByteString value)

public AwsAccessRole.Builder setIamRoleIdBytes(ByteString value)

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Parameter
Name Description
value ByteString

The bytes for iamRoleId to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setIdentity(String value)

public AwsAccessRole.Builder setIdentity(String value)

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Parameter
Name Description
value String

The identity to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setIdentityBytes(ByteString value)

public AwsAccessRole.Builder setIdentityBytes(ByteString value)

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Parameter
Name Description
value ByteString

The bytes for identity to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.