Struct aws_sdk_s3control::endpoint::ParamsBuilder
source · 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_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 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 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
sourcepub fn account_id(self, value: impl Into<String>) -> Self
pub fn account_id(self, value: impl Into<String>) -> Self
Sets the value for account_id
The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.
sourcepub fn set_account_id(self, param: Option<String>) -> Self
pub fn set_account_id(self, param: Option<String>) -> Self
Sets the value for account_id
The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.
sourcepub fn requires_account_id(self, value: impl Into<bool>) -> Self
pub fn requires_account_id(self, value: impl Into<bool>) -> Self
Sets the value for requires_account_id
Internal parameter for operations that require account id host prefix.
sourcepub fn set_requires_account_id(self, param: Option<bool>) -> Self
pub fn set_requires_account_id(self, param: Option<bool>) -> Self
Sets the value for requires_account_id
Internal parameter for operations that require account id host prefix.
sourcepub fn outpost_id(self, value: impl Into<String>) -> Self
pub fn outpost_id(self, value: impl Into<String>) -> Self
Sets the value for outpost_id
The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.
sourcepub fn set_outpost_id(self, param: Option<String>) -> Self
pub fn set_outpost_id(self, param: Option<String>) -> Self
Sets the value for outpost_id
The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.
sourcepub fn bucket(self, value: impl Into<String>) -> Self
pub fn bucket(self, value: impl Into<String>) -> Self
Sets the value for bucket
The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.
sourcepub fn set_bucket(self, param: Option<String>) -> Self
pub fn set_bucket(self, param: Option<String>) -> Self
Sets the value for bucket
The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.
sourcepub fn access_point_name(self, value: impl Into<String>) -> Self
pub fn access_point_name(self, value: impl Into<String>) -> Self
Sets the value for access_point_name
The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.
sourcepub fn set_access_point_name(self, param: Option<String>) -> Self
pub fn set_access_point_name(self, param: Option<String>) -> Self
Sets the value for access_point_name
The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.
sourcepub fn use_arn_region(self, value: impl Into<bool>) -> Self
pub fn use_arn_region(self, value: impl Into<bool>) -> Self
Sets the value for use_arn_region
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN’s region when constructing the endpoint instead of the client’s configured region.
sourcepub fn set_use_arn_region(self, param: Option<bool>) -> Self
pub fn set_use_arn_region(self, param: Option<bool>) -> Self
Sets the value for use_arn_region
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN’s region when constructing the endpoint instead of the client’s configured region.
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<ParamsBuilder> for ParamsBuilder
impl PartialEq<ParamsBuilder> for ParamsBuilder
source§fn eq(&self, other: &ParamsBuilder) -> bool
fn eq(&self, other: &ParamsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.