Struct aws_sdk_s3control::operation::submit_multi_region_access_point_routes::SubmitMultiRegionAccessPointRoutesInput
source · #[non_exhaustive]pub struct SubmitMultiRegionAccessPointRoutesInput {
pub account_id: Option<String>,
pub mrap: Option<String>,
pub route_updates: Option<Vec<MultiRegionAccessPointRoute>>,
}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.account_id: Option<String>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
mrap: Option<String>The Multi-Region Access Point ARN.
route_updates: Option<Vec<MultiRegionAccessPointRoute>>The different routes that make up the new route configuration. Active routes return a value of 100, and passive routes return a value of 0.
Implementations§
source§impl SubmitMultiRegionAccessPointRoutesInput
impl SubmitMultiRegionAccessPointRoutesInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
sourcepub fn route_updates(&self) -> &[MultiRegionAccessPointRoute]
pub fn route_updates(&self) -> &[MultiRegionAccessPointRoute]
The different routes that make up the new route configuration. Active routes return a value of 100, and passive routes return a value of 0.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .route_updates.is_none().
source§impl SubmitMultiRegionAccessPointRoutesInput
impl SubmitMultiRegionAccessPointRoutesInput
sourcepub fn builder() -> SubmitMultiRegionAccessPointRoutesInputBuilder
pub fn builder() -> SubmitMultiRegionAccessPointRoutesInputBuilder
Creates a new builder-style object to manufacture SubmitMultiRegionAccessPointRoutesInput.
Trait Implementations§
source§impl Clone for SubmitMultiRegionAccessPointRoutesInput
impl Clone for SubmitMultiRegionAccessPointRoutesInput
source§fn clone(&self) -> SubmitMultiRegionAccessPointRoutesInput
fn clone(&self) -> SubmitMultiRegionAccessPointRoutesInput
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 PartialEq for SubmitMultiRegionAccessPointRoutesInput
impl PartialEq for SubmitMultiRegionAccessPointRoutesInput
source§fn eq(&self, other: &SubmitMultiRegionAccessPointRoutesInput) -> bool
fn eq(&self, other: &SubmitMultiRegionAccessPointRoutesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubmitMultiRegionAccessPointRoutesInput
Auto Trait Implementations§
impl RefUnwindSafe for SubmitMultiRegionAccessPointRoutesInput
impl Send for SubmitMultiRegionAccessPointRoutesInput
impl Sync for SubmitMultiRegionAccessPointRoutesInput
impl Unpin for SubmitMultiRegionAccessPointRoutesInput
impl UnwindSafe for SubmitMultiRegionAccessPointRoutesInput
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.