Struct aws_sdk_rds::operation::modify_activity_stream::builders::ModifyActivityStreamInputBuilder
source · #[non_exhaustive]pub struct ModifyActivityStreamInputBuilder { /* private fields */ }Expand description
A builder for ModifyActivityStreamInput.
Implementations§
source§impl ModifyActivityStreamInputBuilder
impl ModifyActivityStreamInputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:db:my-orcl-db.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:db:my-orcl-db.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:db:my-orcl-db.
sourcepub fn audit_policy_state(self, input: AuditPolicyState) -> Self
pub fn audit_policy_state(self, input: AuditPolicyState) -> Self
The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.
sourcepub fn set_audit_policy_state(self, input: Option<AuditPolicyState>) -> Self
pub fn set_audit_policy_state(self, input: Option<AuditPolicyState>) -> Self
The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.
sourcepub fn get_audit_policy_state(&self) -> &Option<AuditPolicyState>
pub fn get_audit_policy_state(&self) -> &Option<AuditPolicyState>
The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.
sourcepub fn build(self) -> Result<ModifyActivityStreamInput, BuildError>
pub fn build(self) -> Result<ModifyActivityStreamInput, BuildError>
Consumes the builder and constructs a ModifyActivityStreamInput.
source§impl ModifyActivityStreamInputBuilder
impl ModifyActivityStreamInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyActivityStreamOutput, SdkError<ModifyActivityStreamError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyActivityStreamOutput, SdkError<ModifyActivityStreamError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyActivityStreamInputBuilder
impl Clone for ModifyActivityStreamInputBuilder
source§fn clone(&self) -> ModifyActivityStreamInputBuilder
fn clone(&self) -> ModifyActivityStreamInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyActivityStreamInputBuilder
impl Default for ModifyActivityStreamInputBuilder
source§fn default() -> ModifyActivityStreamInputBuilder
fn default() -> ModifyActivityStreamInputBuilder
source§impl PartialEq for ModifyActivityStreamInputBuilder
impl PartialEq for ModifyActivityStreamInputBuilder
source§fn eq(&self, other: &ModifyActivityStreamInputBuilder) -> bool
fn eq(&self, other: &ModifyActivityStreamInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyActivityStreamInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyActivityStreamInputBuilder
impl RefUnwindSafe for ModifyActivityStreamInputBuilder
impl Send for ModifyActivityStreamInputBuilder
impl Sync for ModifyActivityStreamInputBuilder
impl Unpin for ModifyActivityStreamInputBuilder
impl UnwindSafe for ModifyActivityStreamInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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