Class AwsMetadata.AwsOrganization.Builder (2.91.0)

public static final class AwsMetadata.AwsOrganization.Builder extends GeneratedMessage.Builder<AwsMetadata.AwsOrganization.Builder> implements AwsMetadata.AwsOrganizationOrBuilder

An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.

Protobuf type google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization

Static Methods

getDescriptor()

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

Methods

build()

public AwsMetadata.AwsOrganization build()
Returns
Type Description
AwsMetadata.AwsOrganization

buildPartial()

public AwsMetadata.AwsOrganization buildPartial()
Returns
Type Description
AwsMetadata.AwsOrganization

clear()

public AwsMetadata.AwsOrganization.Builder clear()
Returns
Type Description
AwsMetadata.AwsOrganization.Builder
Overrides

clearId()

public AwsMetadata.AwsOrganization.Builder clearId()

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Returns
Type Description
AwsMetadata.AwsOrganization.Builder

This builder for chaining.

getDefaultInstanceForType()

public AwsMetadata.AwsOrganization getDefaultInstanceForType()
Returns
Type Description
AwsMetadata.AwsOrganization

getDescriptorForType()

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

getId()

public String getId()

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsMetadata.AwsOrganization other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setId(String value)

public AwsMetadata.AwsOrganization.Builder setId(String value)

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AwsMetadata.AwsOrganization.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AwsMetadata.AwsOrganization.Builder setIdBytes(ByteString value)

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AwsMetadata.AwsOrganization.Builder

This builder for chaining.