@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.
|
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.
|
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.
|
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 UpdateNamespaceRequest 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 UpdateNamespaceRequest 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 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 UpdateNamespaceRequest 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 UpdateNamespaceRequest 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 UpdateNamespaceRequest 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 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.
namespaceName
- The name of the namespace.public String getNamespaceName()
The name of the namespace.
public UpdateNamespaceRequest withNamespaceName(String namespaceName)
The name of the namespace.
namespaceName
- The name of the namespace.public String toString()
toString
in class Object
Object.toString()
public UpdateNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()