VmScannersAws Class

public class VmScannersAws
extends VmScannersBase

A VM scanning configuration for a security offering of a Aws environment.

Constructor Summary

Constructor Description
VmScannersAws()

Creates an instance of VmScannersAws class.

Method Summary

Modifier and Type Method and Description
String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

static VmScannersAws fromJson(JsonReader jsonReader)

Reads an instance of VmScannersAws from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VmScannersAws withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.

VmScannersAws withConfiguration(VmScannersBaseConfiguration configuration)

Set the configuration property: Configuration for VM scanning.

VmScannersAws withEnabled(Boolean enabled)

Set the enabled property: Is VM scanning enabled.

Methods inherited from VmScannersBase

Methods inherited from java.lang.Object

Constructor Details

VmScannersAws

public VmScannersAws()

Creates an instance of VmScannersAws class.

Method Details

cloudRoleArn

public String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Returns:

the cloudRoleArn value.

fromJson

public static VmScannersAws fromJson(JsonReader jsonReader)

Reads an instance of VmScannersAws from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VmScannersAws if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VmScannersAws.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VmScannersAws.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

VmScannersAws.validate()

withCloudRoleArn

public VmScannersAws withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Parameters:

cloudRoleArn - the cloudRoleArn value to set.

Returns:

the VmScannersAws object itself.

withConfiguration

public VmScannersAws withConfiguration(VmScannersBaseConfiguration configuration)

Set the configuration property: Configuration for VM scanning.

Overrides:

VmScannersAws.withConfiguration(VmScannersBaseConfiguration configuration)

Parameters:

configuration

withEnabled

public VmScannersAws withEnabled(Boolean enabled)

Set the enabled property: Is VM scanning enabled.

Overrides:

VmScannersAws.withEnabled(Boolean enabled)

Parameters:

enabled

Applies to