Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_object_torrent::builders::GetObjectTorrentInputBuilder
pub struct GetObjectTorrentInputBuilder { /* private fields */ }
Expand description
A builder for GetObjectTorrentInput
.
Implementations§
§impl GetObjectTorrentInputBuilder
impl GetObjectTorrentInputBuilder
pub fn bucket(self, input: impl Into<String>) -> GetObjectTorrentInputBuilder
pub fn bucket(self, input: impl Into<String>) -> GetObjectTorrentInputBuilder
The name of the bucket containing the object for which to get the torrent files.
pub fn set_bucket(self, input: Option<String>) -> GetObjectTorrentInputBuilder
pub fn set_bucket(self, input: Option<String>) -> GetObjectTorrentInputBuilder
The name of the bucket containing the object for which to get the torrent files.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the bucket containing the object for which to get the torrent files.
pub fn key(self, input: impl Into<String>) -> GetObjectTorrentInputBuilder
pub fn key(self, input: impl Into<String>) -> GetObjectTorrentInputBuilder
The object key for which to get the information.
pub fn set_key(self, input: Option<String>) -> GetObjectTorrentInputBuilder
pub fn set_key(self, input: Option<String>) -> GetObjectTorrentInputBuilder
The object key for which to get the information.
pub fn request_payer(self, input: RequestPayer) -> GetObjectTorrentInputBuilder
pub fn request_payer(self, input: RequestPayer) -> GetObjectTorrentInputBuilder
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
pub fn set_request_payer(
self,
input: Option<RequestPayer>
) -> GetObjectTorrentInputBuilder
pub fn set_request_payer( self, input: Option<RequestPayer> ) -> GetObjectTorrentInputBuilder
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
pub fn get_request_payer(&self) -> &Option<RequestPayer>
pub fn get_request_payer(&self) -> &Option<RequestPayer>
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> GetObjectTorrentInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> GetObjectTorrentInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn set_expected_bucket_owner(
self,
input: Option<String>
) -> GetObjectTorrentInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> GetObjectTorrentInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn build(self) -> Result<GetObjectTorrentInput, BuildError>
pub fn build(self) -> Result<GetObjectTorrentInput, BuildError>
Consumes the builder and constructs a GetObjectTorrentInput
.
§impl GetObjectTorrentInputBuilder
impl GetObjectTorrentInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<GetObjectTorrentOutput, SdkError<GetObjectTorrentError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<GetObjectTorrentOutput, SdkError<GetObjectTorrentError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for GetObjectTorrentInputBuilder
impl Clone for GetObjectTorrentInputBuilder
§fn clone(&self) -> GetObjectTorrentInputBuilder
fn clone(&self) -> GetObjectTorrentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GetObjectTorrentInputBuilder
impl Debug for GetObjectTorrentInputBuilder
§impl Default for GetObjectTorrentInputBuilder
impl Default for GetObjectTorrentInputBuilder
§fn default() -> GetObjectTorrentInputBuilder
fn default() -> GetObjectTorrentInputBuilder
§impl PartialEq<GetObjectTorrentInputBuilder> for GetObjectTorrentInputBuilder
impl PartialEq<GetObjectTorrentInputBuilder> for GetObjectTorrentInputBuilder
§fn eq(&self, other: &GetObjectTorrentInputBuilder) -> bool
fn eq(&self, other: &GetObjectTorrentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.