Interface ClusterAccountingDatabase.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterAccountingDatabase.Builder,,ClusterAccountingDatabase> SdkBuilder<ClusterAccountingDatabase.Builder,,ClusterAccountingDatabase> SdkPojo
- Enclosing class:
ClusterAccountingDatabase
@Mutable
@NotThreadSafe
public static interface ClusterAccountingDatabase.Builder
extends SdkPojo, CopyableBuilder<ClusterAccountingDatabase.Builder,ClusterAccountingDatabase>
-
Method Summary
Modifier and TypeMethodDescriptionThe hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database.The name of the database schema that stores the Slurm accounting data.The port that the accounting database listens on.The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
endpoint
The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.
- Parameters:
endpoint- The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port that the accounting database listens on. The default is
3306.- Parameters:
port- The port that the accounting database listens on. The default is3306.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the database schema that stores the Slurm accounting data. The default is
slurm_acct_db_followed by the cluster ID from the cluster ARN, for exampleslurm_acct_db_a1b2c3d4e5f6.- Parameters:
name- The name of the database schema that stores the Slurm accounting data. The default isslurm_acct_db_followed by the cluster ID from the cluster ARN, for exampleslurm_acct_db_a1b2c3d4e5f6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.
- Parameters:
secretArn- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-