#[non_exhaustive]pub struct GetScreenDataInputBuilder { /* private fields */ }
Expand description
A builder for GetScreenDataInput
.
Implementations§
source§impl GetScreenDataInputBuilder
impl GetScreenDataInputBuilder
sourcepub fn workbook_id(self, input: impl Into<String>) -> Self
pub fn workbook_id(self, input: impl Into<String>) -> Self
The ID of the workbook that contains the screen.
This field is required.sourcepub fn set_workbook_id(self, input: Option<String>) -> Self
pub fn set_workbook_id(self, input: Option<String>) -> Self
The ID of the workbook that contains the screen.
sourcepub fn get_workbook_id(&self) -> &Option<String>
pub fn get_workbook_id(&self) -> &Option<String>
The ID of the workbook that contains the screen.
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The ID of the app that contains the screen.
This field is required.sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The ID of the app that contains the screen.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The ID of the app that contains the screen.
sourcepub fn screen_id(self, input: impl Into<String>) -> Self
pub fn screen_id(self, input: impl Into<String>) -> Self
The ID of the screen.
This field is required.sourcepub fn set_screen_id(self, input: Option<String>) -> Self
pub fn set_screen_id(self, input: Option<String>) -> Self
The ID of the screen.
sourcepub fn get_screen_id(&self) -> &Option<String>
pub fn get_screen_id(&self) -> &Option<String>
The ID of the screen.
sourcepub fn variables(self, k: impl Into<String>, v: VariableValue) -> Self
pub fn variables(self, k: impl Into<String>, v: VariableValue) -> Self
Adds a key-value pair to variables
.
To override the contents of this collection use set_variables
.
Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.
sourcepub fn set_variables(
self,
input: Option<HashMap<String, VariableValue>>
) -> Self
pub fn set_variables( self, input: Option<HashMap<String, VariableValue>> ) -> Self
Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.
sourcepub fn get_variables(&self) -> &Option<HashMap<String, VariableValue>>
pub fn get_variables(&self) -> &Option<HashMap<String, VariableValue>>
Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100.
This parameter is optional. If you don't specify this parameter, the default page size is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100.
This parameter is optional. If you don't specify this parameter, the default page size is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100.
This parameter is optional. If you don't specify this parameter, the default page size is 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
This parameter is optional. If a nextToken is not specified, the API returns the first page of data.
Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
This parameter is optional. If a nextToken is not specified, the API returns the first page of data.
Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
This parameter is optional. If a nextToken is not specified, the API returns the first page of data.
Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.
sourcepub fn build(self) -> Result<GetScreenDataInput, BuildError>
pub fn build(self) -> Result<GetScreenDataInput, BuildError>
Consumes the builder and constructs a GetScreenDataInput
.
source§impl GetScreenDataInputBuilder
impl GetScreenDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetScreenDataOutput, SdkError<GetScreenDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetScreenDataOutput, SdkError<GetScreenDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetScreenDataInputBuilder
impl Clone for GetScreenDataInputBuilder
source§fn clone(&self) -> GetScreenDataInputBuilder
fn clone(&self) -> GetScreenDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetScreenDataInputBuilder
impl Debug for GetScreenDataInputBuilder
source§impl Default for GetScreenDataInputBuilder
impl Default for GetScreenDataInputBuilder
source§fn default() -> GetScreenDataInputBuilder
fn default() -> GetScreenDataInputBuilder
source§impl PartialEq for GetScreenDataInputBuilder
impl PartialEq for GetScreenDataInputBuilder
source§fn eq(&self, other: &GetScreenDataInputBuilder) -> bool
fn eq(&self, other: &GetScreenDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetScreenDataInputBuilder
Auto Trait Implementations§
impl Freeze for GetScreenDataInputBuilder
impl RefUnwindSafe for GetScreenDataInputBuilder
impl Send for GetScreenDataInputBuilder
impl Sync for GetScreenDataInputBuilder
impl Unpin for GetScreenDataInputBuilder
impl UnwindSafe for GetScreenDataInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more