Interface DBInstanceRole.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>,SdkBuilder<DBInstanceRole.Builder,DBInstanceRole>,SdkPojo
- Enclosing class:
- DBInstanceRole
public static interface DBInstanceRole.Builder extends SdkPojo, CopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DBInstanceRole.BuilderfeatureName(String featureName)The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role.DBInstanceRole.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.DBInstanceRole.Builderstatus(String status)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
roleArn
DBInstanceRole.Builder roleArn(String 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
DBInstanceRole.Builder featureName(String 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
DBInstanceRole.Builder status(String 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.
-
-
-