Interface DBInstanceRole.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBInstanceRole.Builder,
,DBInstanceRole> SdkBuilder<DBInstanceRole.Builder,
,DBInstanceRole> SdkPojo
- Enclosing class:
DBInstanceRole
-
Method Summary
Modifier and TypeMethodDescriptionfeatureName
(String featureName) The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role.The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.Information about the state of association between the IAM role and the DB instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureName
The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see
DBEngineVersion
.- Parameters:
featureName
- The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, seeDBEngineVersion
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Information about the state of association between the IAM role and the DB instance. The Status property returns one of the following values:
-
ACTIVE
- the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf. -
PENDING
- the IAM role ARN is being associated with the DB instance. -
INVALID
- the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.
- Parameters:
status
- Information about the state of association between the IAM role and the DB instance. The Status property returns one of the following values:-
ACTIVE
- the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf. -
PENDING
- the IAM role ARN is being associated with the DB instance. -
INVALID
- the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-