Struct aws_sdk_route53resolver::operation::create_outpost_resolver::builders::CreateOutpostResolverInputBuilder
source · #[non_exhaustive]pub struct CreateOutpostResolverInputBuilder { /* private fields */ }
Expand description
A builder for CreateOutpostResolverInput
.
Implementations§
source§impl CreateOutpostResolverInputBuilder
impl CreateOutpostResolverInputBuilder
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.
sourcepub fn get_creator_request_id(&self) -> &Option<String>
pub fn get_creator_request_id(&self) -> &Option<String>
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time stamp.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
sourcepub fn instance_count(self, input: i32) -> Self
pub fn instance_count(self, input: i32) -> Self
Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
sourcepub fn set_instance_count(self, input: Option<i32>) -> Self
pub fn set_instance_count(self, input: Option<i32>) -> Self
Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
sourcepub fn get_instance_count(&self) -> &Option<i32>
pub fn get_instance_count(&self) -> &Option<i32>
Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
sourcepub fn preferred_instance_type(self, input: impl Into<String>) -> Self
pub fn preferred_instance_type(self, input: impl Into<String>) -> Self
The Amazon EC2 instance type. If you specify this, you must also specify a value for the OutpostArn
.
sourcepub fn set_preferred_instance_type(self, input: Option<String>) -> Self
pub fn set_preferred_instance_type(self, input: Option<String>) -> Self
The Amazon EC2 instance type. If you specify this, you must also specify a value for the OutpostArn
.
sourcepub fn get_preferred_instance_type(&self) -> &Option<String>
pub fn get_preferred_instance_type(&self) -> &Option<String>
The Amazon EC2 instance type. If you specify this, you must also specify a value for the OutpostArn
.
sourcepub fn outpost_arn(self, input: impl Into<String>) -> Self
pub fn outpost_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType
.
sourcepub fn set_outpost_arn(self, input: Option<String>) -> Self
pub fn set_outpost_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType
.
sourcepub fn get_outpost_arn(&self) -> &Option<String>
pub fn get_outpost_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A string that helps identify the Route 53 Resolvers on Outpost.
A string that helps identify the Route 53 Resolvers on Outpost.
A string that helps identify the Route 53 Resolvers on Outpost.
sourcepub fn build(self) -> Result<CreateOutpostResolverInput, BuildError>
pub fn build(self) -> Result<CreateOutpostResolverInput, BuildError>
Consumes the builder and constructs a CreateOutpostResolverInput
.
source§impl CreateOutpostResolverInputBuilder
impl CreateOutpostResolverInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateOutpostResolverOutput, SdkError<CreateOutpostResolverError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateOutpostResolverOutput, SdkError<CreateOutpostResolverError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateOutpostResolverInputBuilder
impl Clone for CreateOutpostResolverInputBuilder
source§fn clone(&self) -> CreateOutpostResolverInputBuilder
fn clone(&self) -> CreateOutpostResolverInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateOutpostResolverInputBuilder
impl Default for CreateOutpostResolverInputBuilder
source§fn default() -> CreateOutpostResolverInputBuilder
fn default() -> CreateOutpostResolverInputBuilder
source§impl PartialEq for CreateOutpostResolverInputBuilder
impl PartialEq for CreateOutpostResolverInputBuilder
source§fn eq(&self, other: &CreateOutpostResolverInputBuilder) -> bool
fn eq(&self, other: &CreateOutpostResolverInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.