Struct aws_sdk_s3control::operation::submit_multi_region_access_point_routes::builders::SubmitMultiRegionAccessPointRoutesInputBuilder
source · #[non_exhaustive]pub struct SubmitMultiRegionAccessPointRoutesInputBuilder { /* private fields */ }Expand description
A builder for SubmitMultiRegionAccessPointRoutesInput.
Implementations§
source§impl SubmitMultiRegionAccessPointRoutesInputBuilder
impl SubmitMultiRegionAccessPointRoutesInputBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
This field is required.sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
sourcepub fn mrap(self, input: impl Into<String>) -> Self
pub fn mrap(self, input: impl Into<String>) -> Self
The Multi-Region Access Point ARN.
This field is required.sourcepub fn route_updates(self, input: MultiRegionAccessPointRoute) -> Self
pub fn route_updates(self, input: MultiRegionAccessPointRoute) -> Self
Appends an item to route_updates.
To override the contents of this collection use set_route_updates.
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.
sourcepub fn set_route_updates(
self,
input: Option<Vec<MultiRegionAccessPointRoute>>
) -> Self
pub fn set_route_updates( self, input: Option<Vec<MultiRegionAccessPointRoute>> ) -> Self
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.
sourcepub fn get_route_updates(&self) -> &Option<Vec<MultiRegionAccessPointRoute>>
pub fn get_route_updates(&self) -> &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.
sourcepub fn build(
self
) -> Result<SubmitMultiRegionAccessPointRoutesInput, BuildError>
pub fn build( self ) -> Result<SubmitMultiRegionAccessPointRoutesInput, BuildError>
Consumes the builder and constructs a SubmitMultiRegionAccessPointRoutesInput.
source§impl SubmitMultiRegionAccessPointRoutesInputBuilder
impl SubmitMultiRegionAccessPointRoutesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SubmitMultiRegionAccessPointRoutesOutput, SdkError<SubmitMultiRegionAccessPointRoutesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SubmitMultiRegionAccessPointRoutesOutput, SdkError<SubmitMultiRegionAccessPointRoutesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SubmitMultiRegionAccessPointRoutesInputBuilder
impl Clone for SubmitMultiRegionAccessPointRoutesInputBuilder
source§fn clone(&self) -> SubmitMultiRegionAccessPointRoutesInputBuilder
fn clone(&self) -> SubmitMultiRegionAccessPointRoutesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SubmitMultiRegionAccessPointRoutesInputBuilder
impl Default for SubmitMultiRegionAccessPointRoutesInputBuilder
source§fn default() -> SubmitMultiRegionAccessPointRoutesInputBuilder
fn default() -> SubmitMultiRegionAccessPointRoutesInputBuilder
source§impl PartialEq for SubmitMultiRegionAccessPointRoutesInputBuilder
impl PartialEq for SubmitMultiRegionAccessPointRoutesInputBuilder
source§fn eq(&self, other: &SubmitMultiRegionAccessPointRoutesInputBuilder) -> bool
fn eq(&self, other: &SubmitMultiRegionAccessPointRoutesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.