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
-
public final class AwsCloudTrailDataConnector extends DataConnectorInner
Represents Amazon Web Services CloudTrail data connector.
-
-
Constructor Summary
Constructors Constructor Description AwsCloudTrailDataConnector()
-
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.AwsCloudTrailDataConnector
withAwsRoleArn(String awsRoleArn)
Set the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.AwsCloudTrailDataConnector
withDataTypes(AwsCloudTrailDataConnectorDataTypes dataTypes)
Set the dataTypes property: The available data types for the connector.AwsCloudTrailDataConnector
withEtag(String etag)
Set the etag property: Etag of the azure resource.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public AwsCloudTrailDataConnector withEtag(String etag)
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
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 AwsCloudTrailDataConnector 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 AwsCloudTrailDataConnector object itself.
-
dataTypes
public AwsCloudTrailDataConnectorDataTypes dataTypes()
Get the dataTypes property: The available data types for the connector.- Returns:
- the dataTypes value.
-
withDataTypes
public AwsCloudTrailDataConnector withDataTypes(AwsCloudTrailDataConnectorDataTypes dataTypes)
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.
-
-