pub struct ParamsBuilder { /* private fields */ }
Expand description
Builder for Params
Implementations§
Source§impl ParamsBuilder
impl ParamsBuilder
Sourcepub fn region(self, value: impl Into<String>) -> Self
pub fn region(self, value: impl Into<String>) -> Self
Sets the value for region
The AWS region used to dispatch the request.
Sourcepub fn set_region(self, param: Option<String>) -> Self
pub fn set_region(self, param: Option<String>) -> Self
Sets the value for region
The AWS region used to dispatch the request.
Sourcepub fn use_dual_stack(self, value: impl Into<bool>) -> Self
pub fn use_dual_stack(self, value: impl Into<bool>) -> Self
Sets the value for use_dual_stack
When unset, this parameter has a default value of false
.
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
Sourcepub fn set_use_dual_stack(self, param: Option<bool>) -> Self
pub fn set_use_dual_stack(self, param: Option<bool>) -> Self
Sets the value for use_dual_stack
When unset, this parameter has a default value of false
.
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
Sourcepub fn use_fips(self, value: impl Into<bool>) -> Self
pub fn use_fips(self, value: impl Into<bool>) -> Self
Sets the value for use_fips
When unset, this parameter has a default value of false
.
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
Sourcepub fn set_use_fips(self, param: Option<bool>) -> Self
pub fn set_use_fips(self, param: Option<bool>) -> Self
Sets the value for use_fips
When unset, this parameter has a default value of false
.
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
Sourcepub fn endpoint(self, value: impl Into<String>) -> Self
pub fn endpoint(self, value: impl Into<String>) -> Self
Sets the value for endpoint
Override the endpoint used to send this request
Sourcepub fn set_endpoint(self, param: Option<String>) -> Self
pub fn set_endpoint(self, param: Option<String>) -> Self
Sets the value for endpoint
Override the endpoint used to send this request
Trait Implementations§
Source§impl Clone for ParamsBuilder
impl Clone for ParamsBuilder
Source§fn clone(&self) -> ParamsBuilder
fn clone(&self) -> ParamsBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ParamsBuilder
impl Debug for ParamsBuilder
Source§impl Default for ParamsBuilder
impl Default for ParamsBuilder
Source§fn default() -> ParamsBuilder
fn default() -> ParamsBuilder
Source§impl PartialEq for ParamsBuilder
impl PartialEq for ParamsBuilder
impl StructuralPartialEq for ParamsBuilder
Auto Trait Implementations§
impl Freeze for ParamsBuilder
impl RefUnwindSafe for ParamsBuilder
impl Send for ParamsBuilder
impl Sync for ParamsBuilder
impl Unpin for ParamsBuilder
impl UnwindSafe for ParamsBuilder
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
)