Struct aws_sdk_s3::output::get_object_torrent_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetObjectTorrentOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn body(self, input: ByteStream) -> Self
pub fn body(self, input: ByteStream) -> Self
A Bencoded dictionary as defined by the BitTorrent specification
sourcepub fn set_body(self, input: Option<ByteStream>) -> Self
pub fn set_body(self, input: Option<ByteStream>) -> Self
A Bencoded dictionary as defined by the BitTorrent specification
sourcepub fn request_charged(self, input: RequestCharged) -> Self
pub fn request_charged(self, input: RequestCharged) -> Self
If present, indicates that the requester was successfully charged for the request.
sourcepub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
pub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
If present, indicates that the requester was successfully charged for the request.
sourcepub fn build(self) -> GetObjectTorrentOutput
pub fn build(self) -> GetObjectTorrentOutput
Consumes the builder and constructs a GetObjectTorrentOutput
.