Struct aws_sdk_databasemigration::operation::modify_instance_profile::builders::ModifyInstanceProfileInputBuilder
source · #[non_exhaustive]pub struct ModifyInstanceProfileInputBuilder { /* private fields */ }
Expand description
A builder for ModifyInstanceProfileInput
.
Implementations§
source§impl ModifyInstanceProfileInputBuilder
impl ModifyInstanceProfileInputBuilder
sourcepub fn instance_profile_identifier(self, input: impl Into<String>) -> Self
pub fn instance_profile_identifier(self, input: impl Into<String>) -> Self
The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
This field is required.sourcepub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
pub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
sourcepub fn get_instance_profile_identifier(&self) -> &Option<String>
pub fn get_instance_profile_identifier(&self) -> &Option<String>
The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
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 runs.
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 runs.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone where the instance profile runs.
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
.
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 for 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 for the instance profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A user-friendly description for 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 groups 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 groups 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 groups 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<ModifyInstanceProfileInput, BuildError>
pub fn build(self) -> Result<ModifyInstanceProfileInput, BuildError>
Consumes the builder and constructs a ModifyInstanceProfileInput
.
source§impl ModifyInstanceProfileInputBuilder
impl ModifyInstanceProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyInstanceProfileOutput, SdkError<ModifyInstanceProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyInstanceProfileOutput, SdkError<ModifyInstanceProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyInstanceProfileInputBuilder
impl Clone for ModifyInstanceProfileInputBuilder
source§fn clone(&self) -> ModifyInstanceProfileInputBuilder
fn clone(&self) -> ModifyInstanceProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyInstanceProfileInputBuilder
impl Default for ModifyInstanceProfileInputBuilder
source§fn default() -> ModifyInstanceProfileInputBuilder
fn default() -> ModifyInstanceProfileInputBuilder
source§impl PartialEq for ModifyInstanceProfileInputBuilder
impl PartialEq for ModifyInstanceProfileInputBuilder
source§fn eq(&self, other: &ModifyInstanceProfileInputBuilder) -> bool
fn eq(&self, other: &ModifyInstanceProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.