Struct aws_sdk_databasemigration::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder
source · pub struct ModifyInstanceProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyInstanceProfile
.
Modifies the specified instance profile using the provided parameters.
All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.
Implementations§
source§impl ModifyInstanceProfileFluentBuilder
impl ModifyInstanceProfileFluentBuilder
sourcepub fn as_input(&self) -> &ModifyInstanceProfileInputBuilder
pub fn as_input(&self) -> &ModifyInstanceProfileInputBuilder
Access the ModifyInstanceProfile as a reference.
sourcepub async fn send(
self
) -> Result<ModifyInstanceProfileOutput, SdkError<ModifyInstanceProfileError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyInstanceProfileOutput, SdkError<ModifyInstanceProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ModifyInstanceProfileOutput, ModifyInstanceProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyInstanceProfileOutput, ModifyInstanceProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 VpcSecurityGroups
.
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.
Trait Implementations§
source§impl Clone for ModifyInstanceProfileFluentBuilder
impl Clone for ModifyInstanceProfileFluentBuilder
source§fn clone(&self) -> ModifyInstanceProfileFluentBuilder
fn clone(&self) -> ModifyInstanceProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more