Struct aws_sdk_securitylake::operation::update_subscriber::builders::UpdateSubscriberInputBuilder
source · #[non_exhaustive]pub struct UpdateSubscriberInputBuilder { /* private fields */ }Expand description
A builder for UpdateSubscriberInput.
Implementations§
source§impl UpdateSubscriberInputBuilder
impl UpdateSubscriberInputBuilder
sourcepub fn subscriber_id(self, input: impl Into<String>) -> Self
pub fn subscriber_id(self, input: impl Into<String>) -> Self
A value created by Security Lake that uniquely identifies your subscription.
This field is required.sourcepub fn set_subscriber_id(self, input: Option<String>) -> Self
pub fn set_subscriber_id(self, input: Option<String>) -> Self
A value created by Security Lake that uniquely identifies your subscription.
sourcepub fn get_subscriber_id(&self) -> &Option<String>
pub fn get_subscriber_id(&self) -> &Option<String>
A value created by Security Lake that uniquely identifies your subscription.
sourcepub fn subscriber_identity(self, input: AwsIdentity) -> Self
pub fn subscriber_identity(self, input: AwsIdentity) -> Self
The AWS identity used to access your data.
sourcepub fn set_subscriber_identity(self, input: Option<AwsIdentity>) -> Self
pub fn set_subscriber_identity(self, input: Option<AwsIdentity>) -> Self
The AWS identity used to access your data.
sourcepub fn get_subscriber_identity(&self) -> &Option<AwsIdentity>
pub fn get_subscriber_identity(&self) -> &Option<AwsIdentity>
The AWS 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 the Security Lake account subscriber.
sourcepub fn set_subscriber_name(self, input: Option<String>) -> Self
pub fn set_subscriber_name(self, input: Option<String>) -> Self
The name of the Security Lake account subscriber.
sourcepub fn get_subscriber_name(&self) -> &Option<String>
pub fn get_subscriber_name(&self) -> &Option<String>
The name of the Security Lake account subscriber.
sourcepub fn subscriber_description(self, input: impl Into<String>) -> Self
pub fn subscriber_description(self, input: impl Into<String>) -> Self
The description of the Security Lake account subscriber.
sourcepub fn set_subscriber_description(self, input: Option<String>) -> Self
pub fn set_subscriber_description(self, input: Option<String>) -> Self
The description of the Security Lake account subscriber.
sourcepub fn get_subscriber_description(&self) -> &Option<String>
pub fn get_subscriber_description(&self) -> &Option<String>
The description of the Security Lake account subscriber.
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. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
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. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
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. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
sourcepub fn build(self) -> Result<UpdateSubscriberInput, BuildError>
pub fn build(self) -> Result<UpdateSubscriberInput, BuildError>
Consumes the builder and constructs a UpdateSubscriberInput.
source§impl UpdateSubscriberInputBuilder
impl UpdateSubscriberInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateSubscriberOutput, SdkError<UpdateSubscriberError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateSubscriberOutput, SdkError<UpdateSubscriberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSubscriberInputBuilder
impl Clone for UpdateSubscriberInputBuilder
source§fn clone(&self) -> UpdateSubscriberInputBuilder
fn clone(&self) -> UpdateSubscriberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateSubscriberInputBuilder
impl Debug for UpdateSubscriberInputBuilder
source§impl Default for UpdateSubscriberInputBuilder
impl Default for UpdateSubscriberInputBuilder
source§fn default() -> UpdateSubscriberInputBuilder
fn default() -> UpdateSubscriberInputBuilder
source§impl PartialEq for UpdateSubscriberInputBuilder
impl PartialEq for UpdateSubscriberInputBuilder
source§fn eq(&self, other: &UpdateSubscriberInputBuilder) -> bool
fn eq(&self, other: &UpdateSubscriberInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateSubscriberInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSubscriberInputBuilder
impl RefUnwindSafe for UpdateSubscriberInputBuilder
impl Send for UpdateSubscriberInputBuilder
impl Sync for UpdateSubscriberInputBuilder
impl Unpin for UpdateSubscriberInputBuilder
impl UnwindSafe for UpdateSubscriberInputBuilder
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