pub struct Builder { /* private fields */ }
Expand description
A builder for GetWorkflowExecutionHistoryInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain containing the workflow execution.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain containing the workflow execution.
sourcepub fn execution(self, input: WorkflowExecution) -> Self
pub fn execution(self, input: WorkflowExecution) -> Self
Specifies the workflow execution for which to return the history.
sourcepub fn set_execution(self, input: Option<WorkflowExecution>) -> Self
pub fn set_execution(self, input: Option<WorkflowExecution>) -> Self
Specifies the workflow execution for which to return the history.
sourcepub fn next_page_token(self, input: impl Into<String>) -> Self
pub fn next_page_token(self, input: impl Into<String>) -> Self
If NextPageToken
is returned there are more results available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 60 seconds. Using an expired pagination token will return a 400
error: "Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be returned in a single call.
sourcepub fn set_next_page_token(self, input: Option<String>) -> Self
pub fn set_next_page_token(self, input: Option<String>) -> Self
If NextPageToken
is returned there are more results available. The value of NextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 60 seconds. Using an expired pagination token will return a 400
error: "Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be returned in a single call.
sourcepub fn maximum_page_size(self, input: i32) -> Self
pub fn maximum_page_size(self, input: i32) -> Self
The maximum number of results that are returned per call. Use nextPageToken
to obtain further pages of results.
sourcepub fn set_maximum_page_size(self, input: Option<i32>) -> Self
pub fn set_maximum_page_size(self, input: Option<i32>) -> Self
The maximum number of results that are returned per call. Use nextPageToken
to obtain further pages of results.
sourcepub fn reverse_order(self, input: bool) -> Self
pub fn reverse_order(self, input: bool) -> Self
When set to true
, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp
of the events.
sourcepub fn set_reverse_order(self, input: Option<bool>) -> Self
pub fn set_reverse_order(self, input: Option<bool>) -> Self
When set to true
, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp
of the events.
sourcepub fn build(self) -> Result<GetWorkflowExecutionHistoryInput, BuildError>
pub fn build(self) -> Result<GetWorkflowExecutionHistoryInput, BuildError>
Consumes the builder and constructs a GetWorkflowExecutionHistoryInput
.