@Stability(value=Experimental) public static final class MultiUserHostedRotationOptions.Builder extends Object implements software.amazon.jsii.Builder<MultiUserHostedRotationOptions>
MultiUserHostedRotationOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MultiUserHostedRotationOptions |
build()
Builds the configured instance.
|
MultiUserHostedRotationOptions.Builder |
functionName(String functionName)
Sets the value of
SingleUserHostedRotationOptions.getFunctionName() |
MultiUserHostedRotationOptions.Builder |
masterSecret(ISecret masterSecret)
Sets the value of
MultiUserHostedRotationOptions.getMasterSecret() |
MultiUserHostedRotationOptions.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
Sets the value of
SingleUserHostedRotationOptions.getSecurityGroups() |
MultiUserHostedRotationOptions.Builder |
vpc(IVpc vpc)
Sets the value of
SingleUserHostedRotationOptions.getVpc() |
MultiUserHostedRotationOptions.Builder |
vpcSubnets(SubnetSelection vpcSubnets)
Sets the value of
SingleUserHostedRotationOptions.getVpcSubnets() |
@Stability(value=Experimental) public MultiUserHostedRotationOptions.Builder masterSecret(ISecret masterSecret)
MultiUserHostedRotationOptions.getMasterSecret()masterSecret - The master secret for a multi user rotation scheme. This parameter is required.this@Stability(value=Experimental) public MultiUserHostedRotationOptions.Builder functionName(String functionName)
SingleUserHostedRotationOptions.getFunctionName()functionName - A name for the Lambda created to rotate the secret.this@Stability(value=Experimental) public MultiUserHostedRotationOptions.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
SingleUserHostedRotationOptions.getSecurityGroups()securityGroups - A list of security groups for the Lambda created to rotate the secret.this@Stability(value=Experimental) public MultiUserHostedRotationOptions.Builder vpc(IVpc vpc)
SingleUserHostedRotationOptions.getVpc()vpc - The VPC where the Lambda rotation function will run.this@Stability(value=Experimental) public MultiUserHostedRotationOptions.Builder vpcSubnets(SubnetSelection vpcSubnets)
SingleUserHostedRotationOptions.getVpcSubnets()vpcSubnets - The type of subnets in the VPC where the Lambda rotation function will run.this@Stability(value=Experimental) public MultiUserHostedRotationOptions build()
build in interface software.amazon.jsii.Builder<MultiUserHostedRotationOptions>MultiUserHostedRotationOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.