#[non_exhaustive]pub struct CustomLogSourceProviderBuilder { /* private fields */ }
Expand description
A builder for CustomLogSourceProvider
.
Implementations§
source§impl CustomLogSourceProviderBuilder
impl CustomLogSourceProviderBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
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 logProviderAccountId
to assume the role.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
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 logProviderAccountId
to assume the role.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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 logProviderAccountId
to assume the role.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The location of the partition in the Amazon S3 bucket for Security Lake.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The location of the partition in the Amazon S3 bucket for Security Lake.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The location of the partition in the Amazon S3 bucket for Security Lake.
sourcepub fn build(self) -> CustomLogSourceProvider
pub fn build(self) -> CustomLogSourceProvider
Consumes the builder and constructs a CustomLogSourceProvider
.
Trait Implementations§
source§impl Clone for CustomLogSourceProviderBuilder
impl Clone for CustomLogSourceProviderBuilder
source§fn clone(&self) -> CustomLogSourceProviderBuilder
fn clone(&self) -> CustomLogSourceProviderBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CustomLogSourceProviderBuilder
impl Default for CustomLogSourceProviderBuilder
source§fn default() -> CustomLogSourceProviderBuilder
fn default() -> CustomLogSourceProviderBuilder
source§impl PartialEq for CustomLogSourceProviderBuilder
impl PartialEq for CustomLogSourceProviderBuilder
source§fn eq(&self, other: &CustomLogSourceProviderBuilder) -> bool
fn eq(&self, other: &CustomLogSourceProviderBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.