pub struct Builder { /* private fields */ }Expand description
A builder for CreateTestGridUrlInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL.
sourcepub fn expires_in_seconds(self, input: i32) -> Self
pub fn expires_in_seconds(self, input: i32) -> Self
Lifetime, in seconds, of the URL.
sourcepub fn set_expires_in_seconds(self, input: Option<i32>) -> Self
pub fn set_expires_in_seconds(self, input: Option<i32>) -> Self
Lifetime, in seconds, of the URL.
sourcepub fn build(self) -> Result<CreateTestGridUrlInput, BuildError>
pub fn build(self) -> Result<CreateTestGridUrlInput, BuildError>
Consumes the builder and constructs a CreateTestGridUrlInput.