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 Details

    • 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, see DBEngineVersion.
      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.