#[non_exhaustive]pub struct GetConsoleOutputInputBuilder { /* private fields */ }
Expand description
A builder for GetConsoleOutputInput
.
Implementations§
source§impl GetConsoleOutputInputBuilder
impl GetConsoleOutputInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn latest(self, input: bool) -> Self
pub fn latest(self, input: bool) -> Self
When enabled, retrieves the latest console output for the instance.
Default: disabled (false
)
sourcepub fn set_latest(self, input: Option<bool>) -> Self
pub fn set_latest(self, input: Option<bool>) -> Self
When enabled, retrieves the latest console output for the instance.
Default: disabled (false
)
sourcepub fn get_latest(&self) -> &Option<bool>
pub fn get_latest(&self) -> &Option<bool>
When enabled, retrieves the latest console output for the instance.
Default: disabled (false
)
sourcepub fn build(self) -> Result<GetConsoleOutputInput, BuildError>
pub fn build(self) -> Result<GetConsoleOutputInput, BuildError>
Consumes the builder and constructs a GetConsoleOutputInput
.
source§impl GetConsoleOutputInputBuilder
impl GetConsoleOutputInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetConsoleOutputOutput, SdkError<GetConsoleOutputError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetConsoleOutputOutput, SdkError<GetConsoleOutputError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetConsoleOutputInputBuilder
impl Clone for GetConsoleOutputInputBuilder
source§fn clone(&self) -> GetConsoleOutputInputBuilder
fn clone(&self) -> GetConsoleOutputInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetConsoleOutputInputBuilder
impl Debug for GetConsoleOutputInputBuilder
source§impl Default for GetConsoleOutputInputBuilder
impl Default for GetConsoleOutputInputBuilder
source§fn default() -> GetConsoleOutputInputBuilder
fn default() -> GetConsoleOutputInputBuilder
source§impl PartialEq<GetConsoleOutputInputBuilder> for GetConsoleOutputInputBuilder
impl PartialEq<GetConsoleOutputInputBuilder> for GetConsoleOutputInputBuilder
source§fn eq(&self, other: &GetConsoleOutputInputBuilder) -> bool
fn eq(&self, other: &GetConsoleOutputInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.