Struct aws_sdk_devicefarm::types::builders::ArtifactBuilder
source · #[non_exhaustive]pub struct ArtifactBuilder { /* private fields */ }Expand description
A builder for Artifact.
Implementations§
source§impl ArtifactBuilder
impl ArtifactBuilder
sourcepub fn type(self, input: ArtifactType) -> Self
pub fn type(self, input: ArtifactType) -> Self
The artifact's type.
Allowed values include the following:
-
UNKNOWN
-
SCREENSHOT
-
DEVICE_LOG
-
MESSAGE_LOG
-
VIDEO_LOG
-
RESULT_LOG
-
SERVICE_LOG
-
WEBKIT_LOG
-
INSTRUMENTATION_OUTPUT
-
EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
-
CALABASH_JSON_OUTPUT
-
CALABASH_PRETTY_OUTPUT
-
CALABASH_STANDARD_OUTPUT
-
CALABASH_JAVA_XML_OUTPUT
-
AUTOMATION_OUTPUT
-
APPIUM_SERVER_OUTPUT
-
APPIUM_JAVA_OUTPUT
-
APPIUM_JAVA_XML_OUTPUT
-
APPIUM_PYTHON_OUTPUT
-
APPIUM_PYTHON_XML_OUTPUT
-
EXPLORER_EVENT_LOG
-
EXPLORER_SUMMARY_LOG
-
APPLICATION_CRASH_REPORT
-
XCTEST_LOG
-
VIDEO
-
CUSTOMER_ARTIFACT
-
CUSTOMER_ARTIFACT_LOG
-
TESTSPEC_OUTPUT
sourcepub fn set_type(self, input: Option<ArtifactType>) -> Self
pub fn set_type(self, input: Option<ArtifactType>) -> Self
The artifact's type.
Allowed values include the following:
-
UNKNOWN
-
SCREENSHOT
-
DEVICE_LOG
-
MESSAGE_LOG
-
VIDEO_LOG
-
RESULT_LOG
-
SERVICE_LOG
-
WEBKIT_LOG
-
INSTRUMENTATION_OUTPUT
-
EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
-
CALABASH_JSON_OUTPUT
-
CALABASH_PRETTY_OUTPUT
-
CALABASH_STANDARD_OUTPUT
-
CALABASH_JAVA_XML_OUTPUT
-
AUTOMATION_OUTPUT
-
APPIUM_SERVER_OUTPUT
-
APPIUM_JAVA_OUTPUT
-
APPIUM_JAVA_XML_OUTPUT
-
APPIUM_PYTHON_OUTPUT
-
APPIUM_PYTHON_XML_OUTPUT
-
EXPLORER_EVENT_LOG
-
EXPLORER_SUMMARY_LOG
-
APPLICATION_CRASH_REPORT
-
XCTEST_LOG
-
VIDEO
-
CUSTOMER_ARTIFACT
-
CUSTOMER_ARTIFACT_LOG
-
TESTSPEC_OUTPUT
sourcepub fn get_type(&self) -> &Option<ArtifactType>
pub fn get_type(&self) -> &Option<ArtifactType>
The artifact's type.
Allowed values include the following:
-
UNKNOWN
-
SCREENSHOT
-
DEVICE_LOG
-
MESSAGE_LOG
-
VIDEO_LOG
-
RESULT_LOG
-
SERVICE_LOG
-
WEBKIT_LOG
-
INSTRUMENTATION_OUTPUT
-
EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
-
CALABASH_JSON_OUTPUT
-
CALABASH_PRETTY_OUTPUT
-
CALABASH_STANDARD_OUTPUT
-
CALABASH_JAVA_XML_OUTPUT
-
AUTOMATION_OUTPUT
-
APPIUM_SERVER_OUTPUT
-
APPIUM_JAVA_OUTPUT
-
APPIUM_JAVA_XML_OUTPUT
-
APPIUM_PYTHON_OUTPUT
-
APPIUM_PYTHON_XML_OUTPUT
-
EXPLORER_EVENT_LOG
-
EXPLORER_SUMMARY_LOG
-
APPLICATION_CRASH_REPORT
-
XCTEST_LOG
-
VIDEO
-
CUSTOMER_ARTIFACT
-
CUSTOMER_ARTIFACT_LOG
-
TESTSPEC_OUTPUT
sourcepub fn set_extension(self, input: Option<String>) -> Self
pub fn set_extension(self, input: Option<String>) -> Self
The artifact's file extension.
sourcepub fn get_extension(&self) -> &Option<String>
pub fn get_extension(&self) -> &Option<String>
The artifact's file extension.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.
Trait Implementations§
source§impl Clone for ArtifactBuilder
impl Clone for ArtifactBuilder
source§fn clone(&self) -> ArtifactBuilder
fn clone(&self) -> ArtifactBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ArtifactBuilder
impl Debug for ArtifactBuilder
source§impl Default for ArtifactBuilder
impl Default for ArtifactBuilder
source§fn default() -> ArtifactBuilder
fn default() -> ArtifactBuilder
source§impl PartialEq for ArtifactBuilder
impl PartialEq for ArtifactBuilder
source§fn eq(&self, other: &ArtifactBuilder) -> bool
fn eq(&self, other: &ArtifactBuilder) -> bool
self and other values to be equal, and is used
by ==.