AwsEnvironmentData Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. EnvironmentData - com.
azure. resourcemanager. security. models. AwsEnvironmentData
- com.
- com.
public final class AwsEnvironmentData
extends EnvironmentData
The AWS connector environment data.
Constructor Summary
| Constructor | Description |
|---|---|
| AwsEnvironmentData() |
Creates an instance of Aws |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
|
Environment |
environmentType()
Get the environment |
|
static
Aws |
fromJson(JsonReader jsonReader)
Reads an instance of Aws |
|
Aws |
organizationalData()
Get the organizational |
| List<String> |
regions()
Get the regions property: list of regions to scan. |
| Long |
scanInterval()
Get the scan |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Aws |
withOrganizationalData(AwsOrganizationalData organizationalData)
Set the organizational |
|
Aws |
withRegions(List<String> regions)
Set the regions property: list of regions to scan. |
|
Aws |
withScanInterval(Long scanInterval)
Set the scan |
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:
environmentType
public EnvironmentType environmentType()
Get the environmentType property: The type of the environment data.
Overrides:
AwsEnvironmentData.environmentType()Returns:
fromJson
public static AwsEnvironmentData fromJson(JsonReader jsonReader)
Reads an instance of AwsEnvironmentData from the JsonReader.
Parameters:
Returns:
Throws:
organizationalData
public AwsOrganizationalData organizationalData()
Get the organizationalData property: The AWS account's organizational data.
Returns:
regions
public List<String> regions()
Get the regions property: list of regions to scan.
Returns:
scanInterval
public Long scanInterval()
Get the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AwsEnvironmentData.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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:
Returns:
withRegions
public AwsEnvironmentData withRegions(List<String> regions)
Set the regions property: list of regions to scan.
Parameters:
Returns:
withScanInterval
public AwsEnvironmentData withScanInterval(Long scanInterval)
Set the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).
Parameters:
Returns: