Struct aws_sdk_securitylake::operation::create_subscriber::builders::CreateSubscriberInputBuilder
source · #[non_exhaustive]pub struct CreateSubscriberInputBuilder { /* private fields */ }Expand description
A builder for CreateSubscriberInput.
Implementations§
source§impl CreateSubscriberInputBuilder
impl CreateSubscriberInputBuilder
sourcepub fn subscriber_identity(self, input: AwsIdentity) -> Self
pub fn subscriber_identity(self, input: AwsIdentity) -> Self
The Amazon Web Services identity used to access your data.
This field is required.sourcepub fn set_subscriber_identity(self, input: Option<AwsIdentity>) -> Self
pub fn set_subscriber_identity(self, input: Option<AwsIdentity>) -> Self
The Amazon Web Services identity used to access your data.
sourcepub fn get_subscriber_identity(&self) -> &Option<AwsIdentity>
pub fn get_subscriber_identity(&self) -> &Option<AwsIdentity>
The Amazon Web Services identity used to access your data.
sourcepub fn subscriber_name(self, input: impl Into<String>) -> Self
pub fn subscriber_name(self, input: impl Into<String>) -> Self
The name of your Security Lake subscriber account.
This field is required.sourcepub fn set_subscriber_name(self, input: Option<String>) -> Self
pub fn set_subscriber_name(self, input: Option<String>) -> Self
The name of your Security Lake subscriber account.
sourcepub fn get_subscriber_name(&self) -> &Option<String>
pub fn get_subscriber_name(&self) -> &Option<String>
The name of your Security Lake subscriber account.
sourcepub fn subscriber_description(self, input: impl Into<String>) -> Self
pub fn subscriber_description(self, input: impl Into<String>) -> Self
The description for your subscriber account in Security Lake.
sourcepub fn set_subscriber_description(self, input: Option<String>) -> Self
pub fn set_subscriber_description(self, input: Option<String>) -> Self
The description for your subscriber account in Security Lake.
sourcepub fn get_subscriber_description(&self) -> &Option<String>
pub fn get_subscriber_description(&self) -> &Option<String>
The description for your subscriber account in Security Lake.
sourcepub fn sources(self, input: LogSourceResource) -> Self
pub fn sources(self, input: LogSourceResource) -> Self
Appends an item to sources.
To override the contents of this collection use set_sources.
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
sourcepub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
pub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
sourcepub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
pub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
sourcepub fn access_types(self, input: AccessType) -> Self
pub fn access_types(self, input: AccessType) -> Self
Appends an item to access_types.
To override the contents of this collection use set_access_types.
The Amazon S3 or Lake Formation access type.
sourcepub fn set_access_types(self, input: Option<Vec<AccessType>>) -> Self
pub fn set_access_types(self, input: Option<Vec<AccessType>>) -> Self
The Amazon S3 or Lake Formation access type.
sourcepub fn get_access_types(&self) -> &Option<Vec<AccessType>>
pub fn get_access_types(&self) -> &Option<Vec<AccessType>>
The Amazon S3 or Lake Formation access type.
Appends an item to tags.
To override the contents of this collection use set_tags.
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
sourcepub fn build(self) -> Result<CreateSubscriberInput, BuildError>
pub fn build(self) -> Result<CreateSubscriberInput, BuildError>
Consumes the builder and constructs a CreateSubscriberInput.
source§impl CreateSubscriberInputBuilder
impl CreateSubscriberInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateSubscriberOutput, SdkError<CreateSubscriberError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateSubscriberOutput, SdkError<CreateSubscriberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSubscriberInputBuilder
impl Clone for CreateSubscriberInputBuilder
source§fn clone(&self) -> CreateSubscriberInputBuilder
fn clone(&self) -> CreateSubscriberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateSubscriberInputBuilder
impl Debug for CreateSubscriberInputBuilder
source§impl Default for CreateSubscriberInputBuilder
impl Default for CreateSubscriberInputBuilder
source§fn default() -> CreateSubscriberInputBuilder
fn default() -> CreateSubscriberInputBuilder
source§impl PartialEq for CreateSubscriberInputBuilder
impl PartialEq for CreateSubscriberInputBuilder
source§fn eq(&self, other: &CreateSubscriberInputBuilder) -> bool
fn eq(&self, other: &CreateSubscriberInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateSubscriberInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSubscriberInputBuilder
impl RefUnwindSafe for CreateSubscriberInputBuilder
impl Send for CreateSubscriberInputBuilder
impl Sync for CreateSubscriberInputBuilder
impl Unpin for CreateSubscriberInputBuilder
impl UnwindSafe for CreateSubscriberInputBuilder
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