AwsEnvironmentData Class

public final class AwsEnvironmentData
extends EnvironmentData

The AWS connector environment data.

Constructor Summary

Constructor Description
AwsEnvironmentData()

Creates an instance of AwsEnvironmentData class.

Method Summary

Modifier and Type Method and Description
String accountName()

Get the accountName property: The AWS account name.

AwsOrganizationalData organizationalData()

Get the organizationalData property: The AWS account's organizational data.

List<String> regions()

Get the regions property: list of regions to scan.

Long scanInterval()

Get the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).

void validate()

Validates the instance.

AwsEnvironmentData withOrganizationalData(AwsOrganizationalData organizationalData)

Set the organizationalData property: The AWS account's organizational data.

AwsEnvironmentData withRegions(List<String> regions)

Set the regions property: list of regions to scan.

AwsEnvironmentData withScanInterval(Long scanInterval)

Set the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).

Methods inherited from EnvironmentData

Methods inherited from java.lang.Object

Constructor Details

AwsEnvironmentData

public AwsEnvironmentData()

Creates an instance of AwsEnvironmentData class.

Method Details

accountName

public String accountName()

Get the accountName property: The AWS account name.

Returns:

the accountName value.

organizationalData

public AwsOrganizationalData organizationalData()

Get the organizationalData property: The AWS account's organizational data.

Returns:

the organizationalData value.

regions

public List regions()

Get the regions property: list of regions to scan.

Returns:

the regions value.

scanInterval

public Long scanInterval()

Get the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).

Returns:

the scanInterval value.

validate

public void validate()

Validates the instance.

Overrides:

AwsEnvironmentData.validate()

withOrganizationalData

public AwsEnvironmentData withOrganizationalData(AwsOrganizationalData organizationalData)

Set the organizationalData property: The AWS account's organizational data.

Parameters:

organizationalData - the organizationalData value to set.

Returns:

the AwsEnvironmentData object itself.

withRegions

public AwsEnvironmentData withRegions(List regions)

Set the regions property: list of regions to scan.

Parameters:

regions - the regions value to set.

Returns:

the AwsEnvironmentData object itself.

withScanInterval

public AwsEnvironmentData withScanInterval(Long scanInterval)

Set the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).

Parameters:

scanInterval - the scanInterval value to set.

Returns:

the AwsEnvironmentData object itself.

Applies to