Interface CustomLogSourceProvider.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomLogSourceProvider.Builder,CustomLogSourceProvider>,SdkBuilder<CustomLogSourceProvider.Builder,CustomLogSourceProvider>,SdkPojo
- Enclosing class:
- CustomLogSourceProvider
public static interface CustomLogSourceProvider.Builder extends SdkPojo, CopyableBuilder<CustomLogSourceProvider.Builder,CustomLogSourceProvider>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomLogSourceProvider.Builderlocation(String location)The location of the partition in the Amazon S3 bucket for Security Lake.CustomLogSourceProvider.BuilderroleArn(String roleArn)The ARN of the IAM role to be used by the entity putting logs into your custom source partition.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
location
CustomLogSourceProvider.Builder location(String location)
The location of the partition in the Amazon S3 bucket for Security Lake.
- Parameters:
location- The location of the partition in the Amazon S3 bucket for Security Lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CustomLogSourceProvider.Builder roleArn(String roleArn)
The ARN of the IAM role to be used by the entity putting logs into your custom source partition. Security Lake will apply the correct access policies to this role, but you must first manually create the trust policy for this role. The IAM role name must start with the text 'Security Lake'. The IAM role must trust the
logProviderAccountIdto assume the role.- Parameters:
roleArn- The ARN of the IAM role to be used by the entity putting logs into your custom source partition. Security Lake will apply the correct access policies to this role, but you must first manually create the trust policy for this role. The IAM role name must start with the text 'Security Lake'. The IAM role must trust thelogProviderAccountIdto assume the role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-