Class AwsCloudTrailDataConnectorProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.AwsCloudTrailDataConnectorProperties
Amazon Web Services CloudTrail data connector properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.Get the dataTypes property: The available data types for the connector.void
validate()
Validates the instance.withAwsRoleArn
(String awsRoleArn) Set the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.withDataTypes
(AwsCloudTrailDataConnectorDataTypes dataTypes) Set the dataTypes property: The available data types for the connector.
-
Constructor Details
-
AwsCloudTrailDataConnectorProperties
public AwsCloudTrailDataConnectorProperties()
-
-
Method Details
-
awsRoleArn
Get the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.- Returns:
- the awsRoleArn value.
-
withAwsRoleArn
Set the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.- Parameters:
awsRoleArn
- the awsRoleArn value to set.- Returns:
- the AwsCloudTrailDataConnectorProperties object itself.
-
dataTypes
Get the dataTypes property: The available data types for the connector.- Returns:
- the dataTypes value.
-
withDataTypes
public AwsCloudTrailDataConnectorProperties withDataTypes(AwsCloudTrailDataConnectorDataTypes dataTypes) Set the dataTypes property: The available data types for the connector.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the AwsCloudTrailDataConnectorProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-