Struct aws_sdk_databasemigration::operation::create_instance_profile::builders::CreateInstanceProfileInputBuilder
source · #[non_exhaustive]pub struct CreateInstanceProfileInputBuilder { /* private fields */ }
Expand description
A builder for CreateInstanceProfileInput
.
Implementations§
source§impl CreateInstanceProfileInputBuilder
impl CreateInstanceProfileInputBuilder
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplem us-east-1d
.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplem us-east-1d
.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplem us-east-1d
.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the KmsKeyArn
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the KmsKeyArn
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the KmsKeyArn
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn publicly_accessible(self, input: bool) -> Self
pub fn publicly_accessible(self, input: bool) -> Self
Specifies the accessibility options for the instance profile. A value of true
represents an instance profile with a public IP address. A value of false
represents an instance profile with a private IP address. The default value is true
.
sourcepub fn set_publicly_accessible(self, input: Option<bool>) -> Self
pub fn set_publicly_accessible(self, input: Option<bool>) -> Self
Specifies the accessibility options for the instance profile. A value of true
represents an instance profile with a public IP address. A value of false
represents an instance profile with a private IP address. The default value is true
.
sourcepub fn get_publicly_accessible(&self) -> &Option<bool>
pub fn get_publicly_accessible(&self) -> &Option<bool>
Specifies the accessibility options for the instance profile. A value of true
represents an instance profile with a public IP address. A value of false
represents an instance profile with a private IP address. The default value is true
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
One or more tags to be assigned to the instance profile.
One or more tags to be assigned to the instance profile.
One or more tags to be assigned to the instance profile.
sourcepub fn network_type(self, input: impl Into<String>) -> Self
pub fn network_type(self, input: impl Into<String>) -> Self
Specifies the network type for the instance profile. A value of IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.
sourcepub fn set_network_type(self, input: Option<String>) -> Self
pub fn set_network_type(self, input: Option<String>) -> Self
Specifies the network type for the instance profile. A value of IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.
sourcepub fn get_network_type(&self) -> &Option<String>
pub fn get_network_type(&self) -> &Option<String>
Specifies the network type for the instance profile. A value of IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.
sourcepub fn instance_profile_name(self, input: impl Into<String>) -> Self
pub fn instance_profile_name(self, input: impl Into<String>) -> Self
A user-friendly name for the instance profile.
sourcepub fn set_instance_profile_name(self, input: Option<String>) -> Self
pub fn set_instance_profile_name(self, input: Option<String>) -> Self
A user-friendly name for the instance profile.
sourcepub fn get_instance_profile_name(&self) -> &Option<String>
pub fn get_instance_profile_name(&self) -> &Option<String>
A user-friendly name for the instance profile.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-friendly description of the instance profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-friendly description of the instance profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A user-friendly description of the instance profile.
sourcepub fn subnet_group_identifier(self, input: impl Into<String>) -> Self
pub fn subnet_group_identifier(self, input: impl Into<String>) -> Self
A subnet group to associate with the instance profile.
sourcepub fn set_subnet_group_identifier(self, input: Option<String>) -> Self
pub fn set_subnet_group_identifier(self, input: Option<String>) -> Self
A subnet group to associate with the instance profile.
sourcepub fn get_subnet_group_identifier(&self) -> &Option<String>
pub fn get_subnet_group_identifier(&self) -> &Option<String>
A subnet group to associate with the instance profile.
sourcepub fn vpc_security_groups(self, input: impl Into<String>) -> Self
pub fn vpc_security_groups(self, input: impl Into<String>) -> Self
Appends an item to vpc_security_groups
.
To override the contents of this collection use set_vpc_security_groups
.
Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
sourcepub fn set_vpc_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_security_groups(self, input: Option<Vec<String>>) -> Self
Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
sourcepub fn get_vpc_security_groups(&self) -> &Option<Vec<String>>
pub fn get_vpc_security_groups(&self) -> &Option<Vec<String>>
Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
sourcepub fn build(self) -> Result<CreateInstanceProfileInput, BuildError>
pub fn build(self) -> Result<CreateInstanceProfileInput, BuildError>
Consumes the builder and constructs a CreateInstanceProfileInput
.
source§impl CreateInstanceProfileInputBuilder
impl CreateInstanceProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateInstanceProfileOutput, SdkError<CreateInstanceProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateInstanceProfileOutput, SdkError<CreateInstanceProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInstanceProfileInputBuilder
impl Clone for CreateInstanceProfileInputBuilder
source§fn clone(&self) -> CreateInstanceProfileInputBuilder
fn clone(&self) -> CreateInstanceProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateInstanceProfileInputBuilder
impl Default for CreateInstanceProfileInputBuilder
source§fn default() -> CreateInstanceProfileInputBuilder
fn default() -> CreateInstanceProfileInputBuilder
source§impl PartialEq for CreateInstanceProfileInputBuilder
impl PartialEq for CreateInstanceProfileInputBuilder
source§fn eq(&self, other: &CreateInstanceProfileInputBuilder) -> bool
fn eq(&self, other: &CreateInstanceProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.