Struct aws_sdk_securitylake::operation::create_data_lake_exception_subscription::builders::CreateDataLakeExceptionSubscriptionInputBuilder
source · #[non_exhaustive]pub struct CreateDataLakeExceptionSubscriptionInputBuilder { /* private fields */ }Expand description
A builder for CreateDataLakeExceptionSubscriptionInput.
Implementations§
source§impl CreateDataLakeExceptionSubscriptionInputBuilder
impl CreateDataLakeExceptionSubscriptionInputBuilder
sourcepub fn subscription_protocol(self, input: impl Into<String>) -> Self
pub fn subscription_protocol(self, input: impl Into<String>) -> Self
The subscription protocol to which exception notifications are posted.
This field is required.sourcepub fn set_subscription_protocol(self, input: Option<String>) -> Self
pub fn set_subscription_protocol(self, input: Option<String>) -> Self
The subscription protocol to which exception notifications are posted.
sourcepub fn get_subscription_protocol(&self) -> &Option<String>
pub fn get_subscription_protocol(&self) -> &Option<String>
The subscription protocol to which exception notifications are posted.
sourcepub fn notification_endpoint(self, input: impl Into<String>) -> Self
pub fn notification_endpoint(self, input: impl Into<String>) -> Self
The Amazon Web Services account where you want to receive exception notifications.
This field is required.sourcepub fn set_notification_endpoint(self, input: Option<String>) -> Self
pub fn set_notification_endpoint(self, input: Option<String>) -> Self
The Amazon Web Services account where you want to receive exception notifications.
sourcepub fn get_notification_endpoint(&self) -> &Option<String>
pub fn get_notification_endpoint(&self) -> &Option<String>
The Amazon Web Services account where you want to receive exception notifications.
sourcepub fn exception_time_to_live(self, input: i64) -> Self
pub fn exception_time_to_live(self, input: i64) -> Self
The expiration period and time-to-live (TTL).
sourcepub fn set_exception_time_to_live(self, input: Option<i64>) -> Self
pub fn set_exception_time_to_live(self, input: Option<i64>) -> Self
The expiration period and time-to-live (TTL).
sourcepub fn get_exception_time_to_live(&self) -> &Option<i64>
pub fn get_exception_time_to_live(&self) -> &Option<i64>
The expiration period and time-to-live (TTL).
sourcepub fn build(
self,
) -> Result<CreateDataLakeExceptionSubscriptionInput, BuildError>
pub fn build( self, ) -> Result<CreateDataLakeExceptionSubscriptionInput, BuildError>
Consumes the builder and constructs a CreateDataLakeExceptionSubscriptionInput.
source§impl CreateDataLakeExceptionSubscriptionInputBuilder
impl CreateDataLakeExceptionSubscriptionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateDataLakeExceptionSubscriptionOutput, SdkError<CreateDataLakeExceptionSubscriptionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateDataLakeExceptionSubscriptionOutput, SdkError<CreateDataLakeExceptionSubscriptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDataLakeExceptionSubscriptionInputBuilder
impl Clone for CreateDataLakeExceptionSubscriptionInputBuilder
source§fn clone(&self) -> CreateDataLakeExceptionSubscriptionInputBuilder
fn clone(&self) -> CreateDataLakeExceptionSubscriptionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDataLakeExceptionSubscriptionInputBuilder
impl Default for CreateDataLakeExceptionSubscriptionInputBuilder
source§fn default() -> CreateDataLakeExceptionSubscriptionInputBuilder
fn default() -> CreateDataLakeExceptionSubscriptionInputBuilder
source§impl PartialEq for CreateDataLakeExceptionSubscriptionInputBuilder
impl PartialEq for CreateDataLakeExceptionSubscriptionInputBuilder
source§fn eq(&self, other: &CreateDataLakeExceptionSubscriptionInputBuilder) -> bool
fn eq(&self, other: &CreateDataLakeExceptionSubscriptionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDataLakeExceptionSubscriptionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDataLakeExceptionSubscriptionInputBuilder
impl RefUnwindSafe for CreateDataLakeExceptionSubscriptionInputBuilder
impl Send for CreateDataLakeExceptionSubscriptionInputBuilder
impl Sync for CreateDataLakeExceptionSubscriptionInputBuilder
impl Unpin for CreateDataLakeExceptionSubscriptionInputBuilder
impl UnwindSafe for CreateDataLakeExceptionSubscriptionInputBuilder
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> 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