public static final class AmazonS3BucketRegex.Builder extends GeneratedMessage.Builder<AmazonS3BucketRegex.Builder> implements AmazonS3BucketRegexOrBuilderAmazon S3 bucket regex.
Protobuf type google.privacy.dlp.v2.AmazonS3BucketRegex
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AmazonS3BucketRegex.BuilderImplements
AmazonS3BucketRegexOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AmazonS3BucketRegex build()| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex |
|
buildPartial()
public AmazonS3BucketRegex buildPartial()| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex |
|
clear()
public AmazonS3BucketRegex.Builder clear()| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
clearAwsAccountRegex()
public AmazonS3BucketRegex.Builder clearAwsAccountRegex()The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
clearBucketNameRegex()
public AmazonS3BucketRegex.Builder clearBucketNameRegex()Optional. Regex to test the bucket name against. If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
This builder for chaining. |
getAwsAccountRegex()
public AwsAccountRegex getAwsAccountRegex()The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Returns | |
|---|---|
| Type | Description |
AwsAccountRegex |
The awsAccountRegex. |
getAwsAccountRegexBuilder()
public AwsAccountRegex.Builder getAwsAccountRegexBuilder()The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Returns | |
|---|---|
| Type | Description |
AwsAccountRegex.Builder |
|
getAwsAccountRegexOrBuilder()
public AwsAccountRegexOrBuilder getAwsAccountRegexOrBuilder()The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Returns | |
|---|---|
| Type | Description |
AwsAccountRegexOrBuilder |
|
getBucketNameRegex()
public String getBucketNameRegex()Optional. Regex to test the bucket name against. If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The bucketNameRegex. |
getBucketNameRegexBytes()
public ByteString getBucketNameRegexBytes()Optional. Regex to test the bucket name against. If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucketNameRegex. |
getDefaultInstanceForType()
public AmazonS3BucketRegex getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasAwsAccountRegex()
public boolean hasAwsAccountRegex()The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the awsAccountRegex field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAwsAccountRegex(AwsAccountRegex value)
public AmazonS3BucketRegex.Builder mergeAwsAccountRegex(AwsAccountRegex value)The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AwsAccountRegex |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
mergeFrom(AmazonS3BucketRegex other)
public AmazonS3BucketRegex.Builder mergeFrom(AmazonS3BucketRegex other)| Parameter | |
|---|---|
| Name | Description |
other |
AmazonS3BucketRegex |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AmazonS3BucketRegex.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AmazonS3BucketRegex.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
setAwsAccountRegex(AwsAccountRegex value)
public AmazonS3BucketRegex.Builder setAwsAccountRegex(AwsAccountRegex value)The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AwsAccountRegex |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
setAwsAccountRegex(AwsAccountRegex.Builder builderForValue)
public AmazonS3BucketRegex.Builder setAwsAccountRegex(AwsAccountRegex.Builder builderForValue)The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AwsAccountRegex.Builder |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
|
setBucketNameRegex(String value)
public AmazonS3BucketRegex.Builder setBucketNameRegex(String value)Optional. Regex to test the bucket name against. If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe bucketNameRegex to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
This builder for chaining. |
setBucketNameRegexBytes(ByteString value)
public AmazonS3BucketRegex.Builder setBucketNameRegexBytes(ByteString value)Optional. Regex to test the bucket name against. If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for bucketNameRegex to set. |
| Returns | |
|---|---|
| Type | Description |
AmazonS3BucketRegex.Builder |
This builder for chaining. |