Class AwsCloudTrailDataConnector
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.DataConnectorInner
com.azure.resourcemanager.securityinsights.models.AwsCloudTrailDataConnector
Represents Amazon Web Services CloudTrail data connector.
-
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.Set the etag property: Etag of the azure resource.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AwsCloudTrailDataConnector
public AwsCloudTrailDataConnector()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classDataConnectorInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
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 AwsCloudTrailDataConnector object itself.
-
dataTypes
Get the dataTypes property: The available data types for the connector.- Returns:
- the dataTypes value.
-
withDataTypes
Set the dataTypes property: The available data types for the connector.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the AwsCloudTrailDataConnector object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDataConnectorInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-