#[non_exhaustive]pub struct CustomLogSourceCrawlerConfigurationBuilder { /* private fields */ }Expand description
A builder for CustomLogSourceCrawlerConfiguration.
Implementations§
source§impl CustomLogSourceCrawlerConfigurationBuilder
impl CustomLogSourceCrawlerConfigurationBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be used by the Glue crawler. The recommended IAM policies are:
-
The managed policy
AWSGlueServiceRole -
A custom policy granting access to your Amazon S3 Data Lake
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be used by the Glue crawler. The recommended IAM policies are:
-
The managed policy
AWSGlueServiceRole -
A custom policy granting access to your Amazon S3 Data Lake
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be used by the Glue crawler. The recommended IAM policies are:
-
The managed policy
AWSGlueServiceRole -
A custom policy granting access to your Amazon S3 Data Lake
sourcepub fn build(self) -> Result<CustomLogSourceCrawlerConfiguration, BuildError>
pub fn build(self) -> Result<CustomLogSourceCrawlerConfiguration, BuildError>
Consumes the builder and constructs a CustomLogSourceCrawlerConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomLogSourceCrawlerConfigurationBuilder
impl Clone for CustomLogSourceCrawlerConfigurationBuilder
source§fn clone(&self) -> CustomLogSourceCrawlerConfigurationBuilder
fn clone(&self) -> CustomLogSourceCrawlerConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CustomLogSourceCrawlerConfigurationBuilder
impl Default for CustomLogSourceCrawlerConfigurationBuilder
source§fn default() -> CustomLogSourceCrawlerConfigurationBuilder
fn default() -> CustomLogSourceCrawlerConfigurationBuilder
source§impl PartialEq for CustomLogSourceCrawlerConfigurationBuilder
impl PartialEq for CustomLogSourceCrawlerConfigurationBuilder
source§fn eq(&self, other: &CustomLogSourceCrawlerConfigurationBuilder) -> bool
fn eq(&self, other: &CustomLogSourceCrawlerConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomLogSourceCrawlerConfigurationBuilder
Auto Trait Implementations§
impl Freeze for CustomLogSourceCrawlerConfigurationBuilder
impl RefUnwindSafe for CustomLogSourceCrawlerConfigurationBuilder
impl Send for CustomLogSourceCrawlerConfigurationBuilder
impl Sync for CustomLogSourceCrawlerConfigurationBuilder
impl Unpin for CustomLogSourceCrawlerConfigurationBuilder
impl UnwindSafe for CustomLogSourceCrawlerConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more