#[non_exhaustive]pub struct DescribeRegionsInputBuilder { /* private fields */ }Expand description
A builder for DescribeRegionsInput.
Implementations§
source§impl DescribeRegionsInputBuilder
impl DescribeRegionsInputBuilder
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
The filters.
-
endpoint- The endpoint of the Region (for example,ec2.us-east-1.amazonaws.com). -
opt-in-status- The opt-in status of the Region (opt-in-not-required|opted-in|not-opted-in). -
region-name- The name of the Region (for example,us-east-1).
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters.
-
endpoint- The endpoint of the Region (for example,ec2.us-east-1.amazonaws.com). -
opt-in-status- The opt-in status of the Region (opt-in-not-required|opted-in|not-opted-in). -
region-name- The name of the Region (for example,us-east-1).
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
The filters.
-
endpoint- The endpoint of the Region (for example,ec2.us-east-1.amazonaws.com). -
opt-in-status- The opt-in status of the Region (opt-in-not-required|opted-in|not-opted-in). -
region-name- The name of the Region (for example,us-east-1).
sourcepub fn region_names(self, input: impl Into<String>) -> Self
pub fn region_names(self, input: impl Into<String>) -> Self
Appends an item to region_names.
To override the contents of this collection use set_region_names.
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
sourcepub fn set_region_names(self, input: Option<Vec<String>>) -> Self
pub fn set_region_names(self, input: Option<Vec<String>>) -> Self
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
sourcepub fn get_region_names(&self) -> &Option<Vec<String>>
pub fn get_region_names(&self) -> &Option<Vec<String>>
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
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 all_regions(self, input: bool) -> Self
pub fn all_regions(self, input: bool) -> Self
Indicates whether to display all Regions, including Regions that are disabled for your account.
sourcepub fn set_all_regions(self, input: Option<bool>) -> Self
pub fn set_all_regions(self, input: Option<bool>) -> Self
Indicates whether to display all Regions, including Regions that are disabled for your account.
sourcepub fn get_all_regions(&self) -> &Option<bool>
pub fn get_all_regions(&self) -> &Option<bool>
Indicates whether to display all Regions, including Regions that are disabled for your account.
sourcepub fn build(self) -> Result<DescribeRegionsInput, BuildError>
pub fn build(self) -> Result<DescribeRegionsInput, BuildError>
Consumes the builder and constructs a DescribeRegionsInput.
source§impl DescribeRegionsInputBuilder
impl DescribeRegionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeRegionsOutput, SdkError<DescribeRegionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeRegionsOutput, SdkError<DescribeRegionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeRegionsInputBuilder
impl Clone for DescribeRegionsInputBuilder
source§fn clone(&self) -> DescribeRegionsInputBuilder
fn clone(&self) -> DescribeRegionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeRegionsInputBuilder
impl Debug for DescribeRegionsInputBuilder
source§impl Default for DescribeRegionsInputBuilder
impl Default for DescribeRegionsInputBuilder
source§fn default() -> DescribeRegionsInputBuilder
fn default() -> DescribeRegionsInputBuilder
source§impl PartialEq<DescribeRegionsInputBuilder> for DescribeRegionsInputBuilder
impl PartialEq<DescribeRegionsInputBuilder> for DescribeRegionsInputBuilder
source§fn eq(&self, other: &DescribeRegionsInputBuilder) -> bool
fn eq(&self, other: &DescribeRegionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.