Class AwsAccount.Builder (3.87.0)

public static final class AwsAccount.Builder extends GeneratedMessage.Builder<AwsAccount.Builder> implements AwsAccountOrBuilder

AWS account.

Protobuf type google.privacy.dlp.v2.AwsAccount

Implements

AwsAccountOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public AwsAccount build()
Returns
Type Description
AwsAccount

buildPartial()

public AwsAccount buildPartial()
Returns
Type Description
AwsAccount

clear()

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

clearAccountId()

public AwsAccount.Builder clearAccountId()

Required. AWS account ID.

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

Returns
Type Description
AwsAccount.Builder

This builder for chaining.

getAccountId()

public String getAccountId()

Required. AWS account ID.

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

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public ByteString getAccountIdBytes()

Required. AWS account ID.

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

Returns
Type Description
ByteString

The bytes for accountId.

getDefaultInstanceForType()

public AwsAccount getDefaultInstanceForType()
Returns
Type Description
AwsAccount

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsAccount other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAccountId(String value)

public AwsAccount.Builder setAccountId(String value)

Required. AWS account ID.

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

Parameter
Name Description
value String

The accountId to set.

Returns
Type Description
AwsAccount.Builder

This builder for chaining.

setAccountIdBytes(ByteString value)

public AwsAccount.Builder setAccountIdBytes(ByteString value)

Required. AWS account ID.

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

Parameter
Name Description
value ByteString

The bytes for accountId to set.

Returns
Type Description
AwsAccount.Builder

This builder for chaining.