Class AwsAccountRegex.Builder (3.87.0)

public static final class AwsAccountRegex.Builder extends GeneratedMessage.Builder<AwsAccountRegex.Builder> implements AwsAccountRegexOrBuilder

AWS account regex.

Protobuf type google.privacy.dlp.v2.AwsAccountRegex

Static Methods

getDescriptor()

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

Methods

build()

public AwsAccountRegex build()
Returns
Type Description
AwsAccountRegex

buildPartial()

public AwsAccountRegex buildPartial()
Returns
Type Description
AwsAccountRegex

clear()

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

clearAccountIdRegex()

public AwsAccountRegex.Builder clearAccountIdRegex()

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

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

Returns
Type Description
AwsAccountRegex.Builder

This builder for chaining.

getAccountIdRegex()

public String getAccountIdRegex()

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

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

Returns
Type Description
String

The accountIdRegex.

getAccountIdRegexBytes()

public ByteString getAccountIdRegexBytes()

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

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

Returns
Type Description
ByteString

The bytes for accountIdRegex.

getDefaultInstanceForType()

public AwsAccountRegex getDefaultInstanceForType()
Returns
Type Description
AwsAccountRegex

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(AwsAccountRegex other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAccountIdRegex(String value)

public AwsAccountRegex.Builder setAccountIdRegex(String value)

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

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

Parameter
Name Description
value String

The accountIdRegex to set.

Returns
Type Description
AwsAccountRegex.Builder

This builder for chaining.

setAccountIdRegexBytes(ByteString value)

public AwsAccountRegex.Builder setAccountIdRegexBytes(ByteString value)

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

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

Parameter
Name Description
value ByteString

The bytes for accountIdRegex to set.

Returns
Type Description
AwsAccountRegex.Builder

This builder for chaining.