@Stability(value=Stable) public static final class AccessKeyProps.Builder extends Object implements software.amazon.jsii.Builder<AccessKeyProps>
AccessKeyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AccessKeyProps |
build()
Builds the configured instance.
|
AccessKeyProps.Builder |
serial(Number serial)
Sets the value of
AccessKeyProps.getSerial() |
AccessKeyProps.Builder |
status(AccessKeyStatus status)
Sets the value of
AccessKeyProps.getStatus() |
AccessKeyProps.Builder |
user(IUser user)
Sets the value of
AccessKeyProps.getUser() |
@Stability(value=Stable) public AccessKeyProps.Builder user(IUser user)
AccessKeyProps.getUser()user - The IAM user this key will belong to. This parameter is required.
Changing this value will result in the access key being deleted and a new
access key (with a different ID and secret value) being assigned to the new
user.this@Stability(value=Stable) public AccessKeyProps.Builder serial(Number serial)
AccessKeyProps.getSerial()serial - A CloudFormation-specific value that signifies the access key should be replaced/rotated.
This value can only be incremented. Incrementing this
value will cause CloudFormation to replace the Access Key resource.this@Stability(value=Stable) public AccessKeyProps.Builder status(AccessKeyStatus status)
AccessKeyProps.getStatus()status - The status of the access key.
An Active access key is allowed to be used
to make API calls; An Inactive key cannot.this@Stability(value=Stable) public AccessKeyProps build()
build in interface software.amazon.jsii.Builder<AccessKeyProps>AccessKeyPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.