@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 |
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.
|
String |
getNamespaceName()
The name of the namespace.
|
List<Tag> |
getTags()
A list of tag instances.
|
int |
hashCode() |
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 |
setNamespaceName(String namespaceName)
The name of the namespace.
|
void |
setTags(Collection<Tag> tags)
A list of tag instances.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withNamespaceName(String namespaceName)
The name of the namespace.
|
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, withSdkRequestTimeout
public void setAdminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
adminUserPassword
- The password of the administrator for the first database created in the namespace.public String getAdminUserPassword()
The password of the administrator for the first database created in the namespace.
public CreateNamespaceRequest withAdminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
adminUserPassword
- The password of the administrator for the first database created in the namespace.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
.LogExport
public 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
.LogExport
public 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
.LogExport
public 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
.LogExport
public 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
.LogExport
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 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 Object
Object.toString()
public CreateNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()