Class ClusterAccountingDatabase
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClusterAccountingDatabase.Builder,ClusterAccountingDatabase>
The external MySQL-compatible database that the Slurm accounting daemon (slurmdbd) connects to for a
SageMaker HyperPod cluster. You provide the database credentials in an Amazon Web Services Secrets Manager secret
instead of in the request.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringendpoint()The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the database schema that stores the Slurm accounting data.final Integerport()The port that the accounting database listens on.final StringThe Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database.static Class<? extends ClusterAccountingDatabase.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
port
The port that the accounting database listens on. The default is
3306.- Returns:
- The port that the accounting database listens on. The default is
3306.
-
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.- Returns:
- 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.
-
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:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterAccountingDatabase.Builder,ClusterAccountingDatabase> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-