Struct aws_sdk_opensearchserverless::operation::create_lifecycle_policy::CreateLifecyclePolicyInput
source · #[non_exhaustive]pub struct CreateLifecyclePolicyInput {
pub type: Option<LifecyclePolicyType>,
pub name: Option<String>,
pub description: Option<String>,
pub policy: Option<String>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<LifecyclePolicyType>
The type of lifecycle policy.
name: Option<String>
The name of the lifecycle policy.
description: Option<String>
A description of the lifecycle policy.
policy: Option<String>
The JSON policy document to use as the content for the lifecycle policy.
client_token: Option<String>
A unique, case-sensitive identifier to ensure idempotency of the request.
Implementations§
source§impl CreateLifecyclePolicyInput
impl CreateLifecyclePolicyInput
sourcepub fn type(&self) -> Option<&LifecyclePolicyType>
pub fn type(&self) -> Option<&LifecyclePolicyType>
The type of lifecycle policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the lifecycle policy.
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
The JSON policy document to use as the content for the lifecycle policy.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier to ensure idempotency of the request.
source§impl CreateLifecyclePolicyInput
impl CreateLifecyclePolicyInput
sourcepub fn builder() -> CreateLifecyclePolicyInputBuilder
pub fn builder() -> CreateLifecyclePolicyInputBuilder
Creates a new builder-style object to manufacture CreateLifecyclePolicyInput
.
Trait Implementations§
source§impl Clone for CreateLifecyclePolicyInput
impl Clone for CreateLifecyclePolicyInput
source§fn clone(&self) -> CreateLifecyclePolicyInput
fn clone(&self) -> CreateLifecyclePolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateLifecyclePolicyInput
impl Debug for CreateLifecyclePolicyInput
source§impl PartialEq for CreateLifecyclePolicyInput
impl PartialEq for CreateLifecyclePolicyInput
source§fn eq(&self, other: &CreateLifecyclePolicyInput) -> bool
fn eq(&self, other: &CreateLifecyclePolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLifecyclePolicyInput
Auto Trait Implementations§
impl Freeze for CreateLifecyclePolicyInput
impl RefUnwindSafe for CreateLifecyclePolicyInput
impl Send for CreateLifecyclePolicyInput
impl Sync for CreateLifecyclePolicyInput
impl Unpin for CreateLifecyclePolicyInput
impl UnwindSafe for CreateLifecyclePolicyInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.