@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNamespaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateNamespaceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateNamespaceRequest |
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 |
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 to update.
|
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 |
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 to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNamespaceRequest |
withAdminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace.
|
UpdateNamespaceRequest |
withAdminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace.
|
UpdateNamespaceRequest |
withDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
|
UpdateNamespaceRequest |
withIamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace.
|
UpdateNamespaceRequest |
withIamRoles(String... iamRoles)
A list of IAM roles to associate with the namespace.
|
UpdateNamespaceRequest |
withKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
|
UpdateNamespaceRequest |
withLogExports(Collection<String> logExports)
The types of logs the namespace can export.
|
UpdateNamespaceRequest |
withLogExports(LogExport... logExports)
The types of logs the namespace can export.
|
UpdateNamespaceRequest |
withLogExports(String... logExports)
The types of logs the namespace can export.
|
UpdateNamespaceRequest |
withNamespaceName(String namespaceName)
The name of the namespace to update.
|
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. This parameter must be updated
together with adminUsername
.
adminUserPassword
- The password of the administrator for the first database created in the namespace. This parameter must be
updated together with adminUsername
.public String getAdminUserPassword()
The password of the administrator for the first database created in the namespace. This parameter must be updated
together with adminUsername
.
adminUsername
.public UpdateNamespaceRequest withAdminUserPassword(String adminUserPassword)
The password of the administrator for the first database created in the namespace. This parameter must be updated
together with adminUsername
.
adminUserPassword
- The password of the administrator for the first database created in the namespace. This parameter must be
updated together with adminUsername
.public void setAdminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace. This parameter must be updated
together with adminUserPassword
.
adminUsername
- The username of the administrator for the first database created in the namespace. This parameter must be
updated together with adminUserPassword
.public String getAdminUsername()
The username of the administrator for the first database created in the namespace. This parameter must be updated
together with adminUserPassword
.
adminUserPassword
.public UpdateNamespaceRequest withAdminUsername(String adminUsername)
The username of the administrator for the first database created in the namespace. This parameter must be updated
together with adminUserPassword
.
adminUsername
- The username of the administrator for the first database created in the namespace. This parameter must be
updated together with adminUserPassword
.public void setDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter must be
updated together with iamRoles
.
defaultIamRoleArn
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter must
be updated together with iamRoles
.public String getDefaultIamRoleArn()
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter must be
updated together with iamRoles
.
iamRoles
.public UpdateNamespaceRequest withDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter must be
updated together with iamRoles
.
defaultIamRoleArn
- The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter must
be updated together with iamRoles
.public List<String> getIamRoles()
A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn
.
defaultIamRoleArn
.public void setIamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn
.
iamRoles
- A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn
.public UpdateNamespaceRequest withIamRoles(String... iamRoles)
A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn
.
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. This parameter must be updated together with
defaultIamRoleArn
.public UpdateNamespaceRequest withIamRoles(Collection<String> iamRoles)
A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn
.
iamRoles
- A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn
.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 UpdateNamespaceRequest 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. The 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. The export types are userlog
, connectionlog
, and useractivitylog
.
logExports
- The types of logs the namespace can export. The export types are userlog
,
connectionlog
, and useractivitylog
.LogExport
public UpdateNamespaceRequest withLogExports(String... logExports)
The types of logs the namespace can export. The 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. The export types are userlog
,
connectionlog
, and useractivitylog
.LogExport
public UpdateNamespaceRequest withLogExports(Collection<String> logExports)
The types of logs the namespace can export. The export types are userlog
, connectionlog
, and useractivitylog
.
logExports
- The types of logs the namespace can export. The export types are userlog
,
connectionlog
, and useractivitylog
.LogExport
public UpdateNamespaceRequest withLogExports(LogExport... logExports)
The types of logs the namespace can export. The export types are userlog
, connectionlog
, and useractivitylog
.
logExports
- The types of logs the namespace can export. The export types are userlog
,
connectionlog
, and useractivitylog
.LogExport
public void setNamespaceName(String namespaceName)
The name of the namespace to update. You can't update the name of a namespace once it is created.
namespaceName
- The name of the namespace to update. You can't update the name of a namespace once it is created.public String getNamespaceName()
The name of the namespace to update. You can't update the name of a namespace once it is created.
public UpdateNamespaceRequest withNamespaceName(String namespaceName)
The name of the namespace to update. You can't update the name of a namespace once it is created.
namespaceName
- The name of the namespace to update. You can't update the name of a namespace once it is created.public String toString()
toString
in class Object
Object.toString()
public UpdateNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()