Send feedback
Class AmazonS3Bucket.Builder (3.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.55.0 keyboard_arrow_down
public static final class AmazonS3Bucket . Builder extends GeneratedMessageV3 . Builder<AmazonS3Bucket . Builder > implements AmazonS3BucketOrBuilder
Amazon S3 bucket.
Protobuf type google.privacy.dlp.v2.AmazonS3Bucket
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AmazonS3Bucket . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AmazonS3Bucket build ()
buildPartial()
public AmazonS3Bucket buildPartial ()
clear()
public AmazonS3Bucket . Builder clear ()
Overrides
clearAwsAccount()
public AmazonS3Bucket . Builder clearAwsAccount ()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
clearBucketName()
public AmazonS3Bucket . Builder clearBucketName ()
Required. The bucket name.
string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public AmazonS3Bucket . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AmazonS3Bucket . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public AmazonS3Bucket . Builder clone ()
Overrides
getAwsAccount()
public AwsAccount getAwsAccount ()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
Returns
Type
Description
AwsAccount
The awsAccount.
getAwsAccountBuilder()
public AwsAccount . Builder getAwsAccountBuilder ()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
getAwsAccountOrBuilder()
public AwsAccountOrBuilder getAwsAccountOrBuilder ()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
getBucketName()
public String getBucketName ()
Required. The bucket name.
string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The bucketName.
getBucketNameBytes()
public ByteString getBucketNameBytes ()
Required. The bucket name.
string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for bucketName.
getDefaultInstanceForType()
public AmazonS3Bucket getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
hasAwsAccount()
public boolean hasAwsAccount ()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
Returns
Type
Description
boolean
Whether the awsAccount field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeAwsAccount(AwsAccount value)
public AmazonS3Bucket . Builder mergeAwsAccount ( AwsAccount value )
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
mergeFrom(AmazonS3Bucket other)
public AmazonS3Bucket . Builder mergeFrom ( AmazonS3Bucket other )
public AmazonS3Bucket . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AmazonS3Bucket . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AmazonS3Bucket . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAwsAccount(AwsAccount value)
public AmazonS3Bucket . Builder setAwsAccount ( AwsAccount value )
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
setAwsAccount(AwsAccount.Builder builderForValue)
public AmazonS3Bucket . Builder setAwsAccount ( AwsAccount . Builder builderForValue )
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
setBucketName(String value)
public AmazonS3Bucket . Builder setBucketName ( String value )
Required. The bucket name.
string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The bucketName to set.
setBucketNameBytes(ByteString value)
public AmazonS3Bucket . Builder setBucketNameBytes ( ByteString value )
Required. The bucket name.
string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for bucketName to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AmazonS3Bucket . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AmazonS3Bucket . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AmazonS3Bucket . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]