Interface AwsMetadataOrBuilder (2.59.0)

public interface AwsMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccount()

public abstract AwsMetadata.AwsAccount getAccount()

The AWS account associated with the resource.

.google.cloud.securitycenter.v2.AwsMetadata.AwsAccount account = 3;

Returns
Type Description
AwsMetadata.AwsAccount

The account.

getAccountOrBuilder()

public abstract AwsMetadata.AwsAccountOrBuilder getAccountOrBuilder()

The AWS account associated with the resource.

.google.cloud.securitycenter.v2.AwsMetadata.AwsAccount account = 3;

Returns
Type Description
AwsMetadata.AwsAccountOrBuilder

getOrganization()

public abstract AwsMetadata.AwsOrganization getOrganization()

The AWS organization associated with the resource.

.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization organization = 1;

Returns
Type Description
AwsMetadata.AwsOrganization

The organization.

getOrganizationOrBuilder()

public abstract AwsMetadata.AwsOrganizationOrBuilder getOrganizationOrBuilder()

The AWS organization associated with the resource.

.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization organization = 1;

Returns
Type Description
AwsMetadata.AwsOrganizationOrBuilder

getOrganizationalUnits(int index)

public abstract AwsMetadata.AwsOrganizationalUnit getOrganizationalUnits(int index)

A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.

repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsMetadata.AwsOrganizationalUnit

getOrganizationalUnitsCount()

public abstract int getOrganizationalUnitsCount()

A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.

repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;

Returns
Type Description
int

getOrganizationalUnitsList()

public abstract List<AwsMetadata.AwsOrganizationalUnit> getOrganizationalUnitsList()

A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.

repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;

Returns
Type Description
List<AwsOrganizationalUnit>

getOrganizationalUnitsOrBuilder(int index)

public abstract AwsMetadata.AwsOrganizationalUnitOrBuilder getOrganizationalUnitsOrBuilder(int index)

A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.

repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsMetadata.AwsOrganizationalUnitOrBuilder

getOrganizationalUnitsOrBuilderList()

public abstract List<? extends AwsMetadata.AwsOrganizationalUnitOrBuilder> getOrganizationalUnitsOrBuilderList()

A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.

repeated .google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit organizational_units = 2;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnitOrBuilder>

hasAccount()

public abstract boolean hasAccount()

The AWS account associated with the resource.

.google.cloud.securitycenter.v2.AwsMetadata.AwsAccount account = 3;

Returns
Type Description
boolean

Whether the account field is set.

hasOrganization()

public abstract boolean hasOrganization()

The AWS organization associated with the resource.

.google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization organization = 1;

Returns
Type Description
boolean

Whether the organization field is set.