@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyInstanceProfileRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyInstanceProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone where the instance profile runs.
|
String |
getDescription()
A user-friendly description for the instance profile.
|
String |
getInstanceProfileIdentifier()
The identifier of the instance profile.
|
String |
getInstanceProfileName()
A user-friendly name for the instance profile.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance
profile.
|
String |
getNetworkType()
Specifies the network type for the instance profile.
|
Boolean |
getPubliclyAccessible()
Specifies the accessibility options for the instance profile.
|
String |
getSubnetGroupIdentifier()
A subnet group to associate with the instance profile.
|
List<String> |
getVpcSecurityGroups()
Specifies the VPC security groups to be used with the instance profile.
|
int |
hashCode() |
Boolean |
isPubliclyAccessible()
Specifies the accessibility options for the instance profile.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone where the instance profile runs.
|
void |
setDescription(String description)
A user-friendly description for the instance profile.
|
void |
setInstanceProfileIdentifier(String instanceProfileIdentifier)
The identifier of the instance profile.
|
void |
setInstanceProfileName(String instanceProfileName)
A user-friendly name for the instance profile.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance
profile.
|
void |
setNetworkType(String networkType)
Specifies the network type for the instance profile.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the instance profile.
|
void |
setSubnetGroupIdentifier(String subnetGroupIdentifier)
A subnet group to associate with the instance profile.
|
void |
setVpcSecurityGroups(Collection<String> vpcSecurityGroups)
Specifies the VPC security groups to be used with the instance profile.
|
String |
toString()
Returns a string representation of this object.
|
ModifyInstanceProfileRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone where the instance profile runs.
|
ModifyInstanceProfileRequest |
withDescription(String description)
A user-friendly description for the instance profile.
|
ModifyInstanceProfileRequest |
withInstanceProfileIdentifier(String instanceProfileIdentifier)
The identifier of the instance profile.
|
ModifyInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
A user-friendly name for the instance profile.
|
ModifyInstanceProfileRequest |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance
profile.
|
ModifyInstanceProfileRequest |
withNetworkType(String networkType)
Specifies the network type for the instance profile.
|
ModifyInstanceProfileRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the instance profile.
|
ModifyInstanceProfileRequest |
withSubnetGroupIdentifier(String subnetGroupIdentifier)
A subnet group to associate with the instance profile.
|
ModifyInstanceProfileRequest |
withVpcSecurityGroups(Collection<String> vpcSecurityGroups)
Specifies the VPC security groups to be used with the instance profile.
|
ModifyInstanceProfileRequest |
withVpcSecurityGroups(String... vpcSecurityGroups)
Specifies the VPC security groups to be used with the instance profile.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceProfileIdentifier(String instanceProfileIdentifier)
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.
instanceProfileIdentifier
- 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.public String getInstanceProfileIdentifier()
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.
public ModifyInstanceProfileRequest withInstanceProfileIdentifier(String instanceProfileIdentifier)
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.
instanceProfileIdentifier
- 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.public void setAvailabilityZone(String availabilityZone)
The Availability Zone where the instance profile runs.
availabilityZone
- The Availability Zone where the instance profile runs.public String getAvailabilityZone()
The Availability Zone where the instance profile runs.
public ModifyInstanceProfileRequest withAvailabilityZone(String availabilityZone)
The Availability Zone where the instance profile runs.
availabilityZone
- The Availability Zone where the instance profile runs.public void setKmsKeyArn(String kmsKeyArn)
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.
kmsKeyArn
- 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.
public String getKmsKeyArn()
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.
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.
public ModifyInstanceProfileRequest withKmsKeyArn(String kmsKeyArn)
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.
kmsKeyArn
- 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.
public void setPubliclyAccessible(Boolean publiclyAccessible)
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
.
publiclyAccessible
- 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
.public Boolean getPubliclyAccessible()
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
.
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
.public ModifyInstanceProfileRequest withPubliclyAccessible(Boolean publiclyAccessible)
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
.
publiclyAccessible
- 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
.public Boolean isPubliclyAccessible()
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
.
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
.public void setNetworkType(String networkType)
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.
networkType
- 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.public String getNetworkType()
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.
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.public ModifyInstanceProfileRequest withNetworkType(String networkType)
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.
networkType
- 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.public void setInstanceProfileName(String instanceProfileName)
A user-friendly name for the instance profile.
instanceProfileName
- A user-friendly name for the instance profile.public String getInstanceProfileName()
A user-friendly name for the instance profile.
public ModifyInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
A user-friendly name for the instance profile.
instanceProfileName
- A user-friendly name for the instance profile.public void setDescription(String description)
A user-friendly description for the instance profile.
description
- A user-friendly description for the instance profile.public String getDescription()
A user-friendly description for the instance profile.
public ModifyInstanceProfileRequest withDescription(String description)
A user-friendly description for the instance profile.
description
- A user-friendly description for the instance profile.public void setSubnetGroupIdentifier(String subnetGroupIdentifier)
A subnet group to associate with the instance profile.
subnetGroupIdentifier
- A subnet group to associate with the instance profile.public String getSubnetGroupIdentifier()
A subnet group to associate with the instance profile.
public ModifyInstanceProfileRequest withSubnetGroupIdentifier(String subnetGroupIdentifier)
A subnet group to associate with the instance profile.
subnetGroupIdentifier
- A subnet group to associate with the instance profile.public List<String> getVpcSecurityGroups()
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.
public void setVpcSecurityGroups(Collection<String> vpcSecurityGroups)
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.
vpcSecurityGroups
- 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.public ModifyInstanceProfileRequest withVpcSecurityGroups(String... vpcSecurityGroups)
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.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroups(java.util.Collection)
or withVpcSecurityGroups(java.util.Collection)
if
you want to override the existing values.
vpcSecurityGroups
- 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.public ModifyInstanceProfileRequest withVpcSecurityGroups(Collection<String> vpcSecurityGroups)
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.
vpcSecurityGroups
- 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.public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()