Struct aws_sdk_ec2::operation::create_spot_datafeed_subscription::builders::CreateSpotDatafeedSubscriptionInputBuilder
source · #[non_exhaustive]pub struct CreateSpotDatafeedSubscriptionInputBuilder { /* private fields */ }
Expand description
A builder for CreateSpotDatafeedSubscriptionInput
.
Implementations§
source§impl CreateSpotDatafeedSubscriptionInputBuilder
impl CreateSpotDatafeedSubscriptionInputBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.
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 set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The prefix for the data feed file names.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
The prefix for the data feed file names.
sourcepub fn build(self) -> Result<CreateSpotDatafeedSubscriptionInput, BuildError>
pub fn build(self) -> Result<CreateSpotDatafeedSubscriptionInput, BuildError>
Consumes the builder and constructs a CreateSpotDatafeedSubscriptionInput
.
source§impl CreateSpotDatafeedSubscriptionInputBuilder
impl CreateSpotDatafeedSubscriptionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSpotDatafeedSubscriptionOutput, SdkError<CreateSpotDatafeedSubscriptionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSpotDatafeedSubscriptionOutput, SdkError<CreateSpotDatafeedSubscriptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSpotDatafeedSubscriptionInputBuilder
impl Clone for CreateSpotDatafeedSubscriptionInputBuilder
source§fn clone(&self) -> CreateSpotDatafeedSubscriptionInputBuilder
fn clone(&self) -> CreateSpotDatafeedSubscriptionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSpotDatafeedSubscriptionInputBuilder
impl Default for CreateSpotDatafeedSubscriptionInputBuilder
source§fn default() -> CreateSpotDatafeedSubscriptionInputBuilder
fn default() -> CreateSpotDatafeedSubscriptionInputBuilder
source§impl PartialEq<CreateSpotDatafeedSubscriptionInputBuilder> for CreateSpotDatafeedSubscriptionInputBuilder
impl PartialEq<CreateSpotDatafeedSubscriptionInputBuilder> for CreateSpotDatafeedSubscriptionInputBuilder
source§fn eq(&self, other: &CreateSpotDatafeedSubscriptionInputBuilder) -> bool
fn eq(&self, other: &CreateSpotDatafeedSubscriptionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.