Struct aws_sdk_devicefarm::input::list_artifacts_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ListArtifactsInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: ArtifactCategory) -> Self
pub fn type(self, input: ArtifactCategory) -> Self
The artifacts' type.
Allowed values include:
-
FILE
-
LOG
-
SCREENSHOT
sourcepub fn set_type(self, input: Option<ArtifactCategory>) -> Self
pub fn set_type(self, input: Option<ArtifactCategory>) -> Self
The artifacts' type.
Allowed values include:
-
FILE
-
LOG
-
SCREENSHOT
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
sourcepub fn build(self) -> Result<ListArtifactsInput, BuildError>
pub fn build(self) -> Result<ListArtifactsInput, BuildError>
Consumes the builder and constructs a ListArtifactsInput.