Class AwsCloudTrailDataConnectorProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.fluent.models.AwsCloudTrailDataConnectorProperties
-
public final class AwsCloudTrailDataConnectorProperties extends Object
Amazon Web Services CloudTrail data connector properties.
-
-
Constructor Summary
Constructors Constructor Description AwsCloudTrailDataConnectorProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
awsRoleArn()
Get the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.AwsCloudTrailDataConnectorDataTypes
dataTypes()
Get the dataTypes property: The available data types for the connector.void
validate()
Validates the instance.AwsCloudTrailDataConnectorProperties
withAwsRoleArn(String awsRoleArn)
Set the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.AwsCloudTrailDataConnectorProperties
withDataTypes(AwsCloudTrailDataConnectorDataTypes dataTypes)
Set the dataTypes property: The available data types for the connector.
-
-
-
Method Detail
-
awsRoleArn
public String 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
public AwsCloudTrailDataConnectorProperties withAwsRoleArn(String awsRoleArn)
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
public AwsCloudTrailDataConnectorDataTypes 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.
-
-