Struct aws_sdk_rust::aws::s3::endpoint::Endpoint
[−]
[src]
pub struct Endpoint { pub region: Region, pub signature: String, pub endpoint: Option<Url>, pub proxy: Option<Url>, }
Endpoint allows you to set a custom endpoint and/or a proxy for a given region and associate this as an endpoint of where S3Client will look for the data.
Fields
region: Region
signature: String
endpoint: Option<Url>
proxy: Option<Url>
Methods
impl Endpoint
[src]
fn new<S>(region: Region, signature: S, endpoint: Option<Url>, proxy: Option<Url>) -> Self where S: Into<String>
Endpoint::new accepts Region, an optional Url and an optional proxy url:port.
fn hostname(&self) -> Option<String>
Trait Implementations
impl Clone for Endpoint
[src]
fn clone(&self) -> Endpoint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more