@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNamespaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateNamespaceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateNamespaceRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAdminPasswordSecretKmsKeyId()
 The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
 secret. | 
| String | getAdminUsername()
 The username of the administrator for the first database created in the namespace. | 
| String | getAdminUserPassword()
 The password of the administrator for the first database created in the namespace. | 
| String | getDbName()
 The name of the first database created in the namespace. | 
| String | getDefaultIamRoleArn()
 The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. | 
| List<String> | getIamRoles()
 A list of IAM roles to associate with the namespace. | 
| String | getKmsKeyId()
 The ID of the Amazon Web Services Key Management Service key used to encrypt your data. | 
| List<String> | getLogExports()
 The types of logs the namespace can export. | 
| Boolean | getManageAdminPassword()
 If  true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. | 
| String | getNamespaceName()
 The name of the namespace. | 
| String | getRedshiftIdcApplicationArn()
 The ARN for the Redshift application that integrates with IAM Identity Center. | 
| List<Tag> | getTags()
 A list of tag instances. | 
| int | hashCode() | 
| Boolean | isManageAdminPassword()
 If  true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. | 
| void | setAdminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
 The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
 secret. | 
| void | setAdminUsername(String adminUsername)
 The username of the administrator for the first database created in the namespace. | 
| void | setAdminUserPassword(String adminUserPassword)
 The password of the administrator for the first database created in the namespace. | 
| void | setDbName(String dbName)
 The name of the first database created in the namespace. | 
| void | setDefaultIamRoleArn(String defaultIamRoleArn)
 The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. | 
| void | setIamRoles(Collection<String> iamRoles)
 A list of IAM roles to associate with the namespace. | 
| void | setKmsKeyId(String kmsKeyId)
 The ID of the Amazon Web Services Key Management Service key used to encrypt your data. | 
| void | setLogExports(Collection<String> logExports)
 The types of logs the namespace can export. | 
| void | setManageAdminPassword(Boolean manageAdminPassword)
 If  true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. | 
| void | setNamespaceName(String namespaceName)
 The name of the namespace. | 
| void | setRedshiftIdcApplicationArn(String redshiftIdcApplicationArn)
 The ARN for the Redshift application that integrates with IAM Identity Center. | 
| void | setTags(Collection<Tag> tags)
 A list of tag instances. | 
| String | toString()Returns a string representation of this object. | 
| CreateNamespaceRequest | withAdminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
 The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
 secret. | 
| CreateNamespaceRequest | withAdminUsername(String adminUsername)
 The username of the administrator for the first database created in the namespace. | 
| CreateNamespaceRequest | withAdminUserPassword(String adminUserPassword)
 The password of the administrator for the first database created in the namespace. | 
| CreateNamespaceRequest | withDbName(String dbName)
 The name of the first database created in the namespace. | 
| CreateNamespaceRequest | withDefaultIamRoleArn(String defaultIamRoleArn)
 The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. | 
| CreateNamespaceRequest | withIamRoles(Collection<String> iamRoles)
 A list of IAM roles to associate with the namespace. | 
| CreateNamespaceRequest | withIamRoles(String... iamRoles)
 A list of IAM roles to associate with the namespace. | 
| CreateNamespaceRequest | withKmsKeyId(String kmsKeyId)
 The ID of the Amazon Web Services Key Management Service key used to encrypt your data. | 
| CreateNamespaceRequest | withLogExports(Collection<String> logExports)
 The types of logs the namespace can export. | 
| CreateNamespaceRequest | withLogExports(LogExport... logExports)
 The types of logs the namespace can export. | 
| CreateNamespaceRequest | withLogExports(String... logExports)
 The types of logs the namespace can export. | 
| CreateNamespaceRequest | withManageAdminPassword(Boolean manageAdminPassword)
 If  true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. | 
| CreateNamespaceRequest | withNamespaceName(String namespaceName)
 The name of the namespace. | 
| CreateNamespaceRequest | withRedshiftIdcApplicationArn(String redshiftIdcApplicationArn)
 The ARN for the Redshift application that integrates with IAM Identity Center. | 
| CreateNamespaceRequest | withTags(Collection<Tag> tags)
 A list of tag instances. | 
| CreateNamespaceRequest | withTags(Tag... tags)
 A list of tag instances. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAdminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
 The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
 secret. You can only use this parameter if manageAdminPassword is true.
 
adminPasswordSecretKmsKeyId - The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
        secret. You can only use this parameter if manageAdminPassword is true.public String getAdminPasswordSecretKmsKeyId()
 The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
 secret. You can only use this parameter if manageAdminPassword is true.
 
manageAdminPassword is true.public CreateNamespaceRequest withAdminPasswordSecretKmsKeyId(String adminPasswordSecretKmsKeyId)
 The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
 secret. You can only use this parameter if manageAdminPassword is true.
 
adminPasswordSecretKmsKeyId - The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
        secret. You can only use this parameter if manageAdminPassword is true.public void setAdminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
 You can't use adminUserPassword if manageAdminPassword is true.
 
adminUserPassword - The password of the administrator for the first database created in the namespace.
        
        You can't use adminUserPassword if manageAdminPassword is true.
public String getAdminUserPassword()
The password of the administrator for the first database created in the namespace.
 You can't use adminUserPassword if manageAdminPassword is true.
 
         You can't use adminUserPassword if manageAdminPassword is true.
public CreateNamespaceRequest withAdminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
 You can't use adminUserPassword if manageAdminPassword is true.
 
adminUserPassword - The password of the administrator for the first database created in the namespace.
        
        You can't use adminUserPassword if manageAdminPassword is true.
public void setAdminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace.
adminUsername - The username of the administrator for the first database created in the namespace.public String getAdminUsername()
The username of the administrator for the first database created in the namespace.
public CreateNamespaceRequest withAdminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace.
adminUsername - The username of the administrator for the first database created in the namespace.public void setDbName(String dbName)
The name of the first database created in the namespace.
dbName - The name of the first database created in the namespace.public String getDbName()
The name of the first database created in the namespace.
public CreateNamespaceRequest withDbName(String dbName)
The name of the first database created in the namespace.
dbName - The name of the first database created in the namespace.public void setDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
defaultIamRoleArn - The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.public String getDefaultIamRoleArn()
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
public CreateNamespaceRequest withDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
defaultIamRoleArn - The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.public List<String> getIamRoles()
A list of IAM roles to associate with the namespace.
public void setIamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace.
iamRoles - A list of IAM roles to associate with the namespace.public CreateNamespaceRequest withIamRoles(String... iamRoles)
A list of IAM roles to associate with the namespace.
 NOTE: This method appends the values to the existing list (if any). Use
 setIamRoles(java.util.Collection) or withIamRoles(java.util.Collection) if you want to override
 the existing values.
 
iamRoles - A list of IAM roles to associate with the namespace.public CreateNamespaceRequest withIamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace.
iamRoles - A list of IAM roles to associate with the namespace.public void setKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
kmsKeyId - The ID of the Amazon Web Services Key Management Service key used to encrypt your data.public String getKmsKeyId()
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
public CreateNamespaceRequest withKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
kmsKeyId - The ID of the Amazon Web Services Key Management Service key used to encrypt your data.public List<String> getLogExports()
 The types of logs the namespace can export. Available export types are userlog,
 connectionlog, and useractivitylog.
 
userlog,
         connectionlog, and useractivitylog.LogExportpublic void setLogExports(Collection<String> logExports)
 The types of logs the namespace can export. Available export types are userlog,
 connectionlog, and useractivitylog.
 
logExports - The types of logs the namespace can export. Available export types are userlog,
        connectionlog, and useractivitylog.LogExportpublic CreateNamespaceRequest withLogExports(String... logExports)
 The types of logs the namespace can export. Available export types are userlog,
 connectionlog, and useractivitylog.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setLogExports(java.util.Collection) or withLogExports(java.util.Collection) if you want to
 override the existing values.
 
logExports - The types of logs the namespace can export. Available export types are userlog,
        connectionlog, and useractivitylog.LogExportpublic CreateNamespaceRequest withLogExports(Collection<String> logExports)
 The types of logs the namespace can export. Available export types are userlog,
 connectionlog, and useractivitylog.
 
logExports - The types of logs the namespace can export. Available export types are userlog,
        connectionlog, and useractivitylog.LogExportpublic CreateNamespaceRequest withLogExports(LogExport... logExports)
 The types of logs the namespace can export. Available export types are userlog,
 connectionlog, and useractivitylog.
 
logExports - The types of logs the namespace can export. Available export types are userlog,
        connectionlog, and useractivitylog.LogExportpublic void setManageAdminPassword(Boolean manageAdminPassword)
 If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't
 use adminUserPassword if manageAdminPassword is true. If
 manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the
 admin user account's password.
 
manageAdminPassword - If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials.
        You can't use adminUserPassword if manageAdminPassword is true. If
        manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword
        for the admin user account's password.public Boolean getManageAdminPassword()
 If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't
 use adminUserPassword if manageAdminPassword is true. If
 manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the
 admin user account's password.
 
true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials.
         You can't use adminUserPassword if manageAdminPassword is true. If
         manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword
         for the admin user account's password.public CreateNamespaceRequest withManageAdminPassword(Boolean manageAdminPassword)
 If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't
 use adminUserPassword if manageAdminPassword is true. If
 manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the
 admin user account's password.
 
manageAdminPassword - If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials.
        You can't use adminUserPassword if manageAdminPassword is true. If
        manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword
        for the admin user account's password.public Boolean isManageAdminPassword()
 If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't
 use adminUserPassword if manageAdminPassword is true. If
 manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the
 admin user account's password.
 
true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials.
         You can't use adminUserPassword if manageAdminPassword is true. If
         manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword
         for the admin user account's password.public void setNamespaceName(String namespaceName)
The name of the namespace.
namespaceName - The name of the namespace.public String getNamespaceName()
The name of the namespace.
public CreateNamespaceRequest withNamespaceName(String namespaceName)
The name of the namespace.
namespaceName - The name of the namespace.public void setRedshiftIdcApplicationArn(String redshiftIdcApplicationArn)
The ARN for the Redshift application that integrates with IAM Identity Center.
redshiftIdcApplicationArn - The ARN for the Redshift application that integrates with IAM Identity Center.public String getRedshiftIdcApplicationArn()
The ARN for the Redshift application that integrates with IAM Identity Center.
public CreateNamespaceRequest withRedshiftIdcApplicationArn(String redshiftIdcApplicationArn)
The ARN for the Redshift application that integrates with IAM Identity Center.
redshiftIdcApplicationArn - The ARN for the Redshift application that integrates with IAM Identity Center.public void setTags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.public CreateNamespaceRequest withTags(Tag... tags)
A list of tag instances.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - A list of tag instances.public CreateNamespaceRequest withTags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.public String toString()
toString in class ObjectObject.toString()public CreateNamespaceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()