Struct aws_sdk_s3control::model::async_operation::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AsyncOperation.
Implementations§
source§impl Builder
impl Builder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the request was sent to the service.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the request was sent to the service.
sourcepub fn operation(self, input: AsyncOperationName) -> Self
pub fn operation(self, input: AsyncOperationName) -> Self
The specific operation for the asynchronous request.
sourcepub fn set_operation(self, input: Option<AsyncOperationName>) -> Self
pub fn set_operation(self, input: Option<AsyncOperationName>) -> Self
The specific operation for the asynchronous request.
sourcepub fn request_token_arn(self, input: impl Into<String>) -> Self
pub fn request_token_arn(self, input: impl Into<String>) -> Self
The request token associated with the request.
sourcepub fn set_request_token_arn(self, input: Option<String>) -> Self
pub fn set_request_token_arn(self, input: Option<String>) -> Self
The request token associated with the request.
sourcepub fn request_parameters(self, input: AsyncRequestParameters) -> Self
pub fn request_parameters(self, input: AsyncRequestParameters) -> Self
The parameters associated with the request.
sourcepub fn set_request_parameters(
self,
input: Option<AsyncRequestParameters>
) -> Self
pub fn set_request_parameters(
self,
input: Option<AsyncRequestParameters>
) -> Self
The parameters associated with the request.
sourcepub fn request_status(self, input: impl Into<String>) -> Self
pub fn request_status(self, input: impl Into<String>) -> Self
The current status of the request.
sourcepub fn set_request_status(self, input: Option<String>) -> Self
pub fn set_request_status(self, input: Option<String>) -> Self
The current status of the request.
sourcepub fn response_details(self, input: AsyncResponseDetails) -> Self
pub fn response_details(self, input: AsyncResponseDetails) -> Self
The details of the response.
sourcepub fn set_response_details(self, input: Option<AsyncResponseDetails>) -> Self
pub fn set_response_details(self, input: Option<AsyncResponseDetails>) -> Self
The details of the response.
sourcepub fn build(self) -> AsyncOperation
pub fn build(self) -> AsyncOperation
Consumes the builder and constructs a AsyncOperation.