@Stability(value=Stable) public static final class CustomActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CustomActionProperty>
CustomActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CustomActionProperty |
build()
Builds the configured instance.
|
CustomActionProperty.Builder |
description(String description)
Sets the value of
CustomActionProperty.getDescription() |
CustomActionProperty.Builder |
key(Boolean key)
Sets the value of
CustomActionProperty.getKey() |
CustomActionProperty.Builder |
name(String name)
Sets the value of
CustomActionProperty.getName() |
CustomActionProperty.Builder |
queryable(Boolean queryable)
Sets the value of
CustomActionProperty.getQueryable() |
CustomActionProperty.Builder |
required(Boolean required)
Sets the value of
CustomActionProperty.getRequired() |
CustomActionProperty.Builder |
secret(Boolean secret)
Sets the value of
CustomActionProperty.getSecret() |
CustomActionProperty.Builder |
type(String type)
Sets the value of
CustomActionProperty.getType() |
@Stability(value=Stable) public CustomActionProperty.Builder name(String name)
CustomActionProperty.getName()name - The name of the property. This parameter is required.
You use this name in the configuration attribute when defining your custom Action class.this@Stability(value=Stable) public CustomActionProperty.Builder required(Boolean required)
CustomActionProperty.getRequired()required - Whether this property is required. This parameter is required.this@Stability(value=Stable) public CustomActionProperty.Builder description(String description)
CustomActionProperty.getDescription()description - The description of the property.this@Stability(value=Stable) public CustomActionProperty.Builder key(Boolean key)
CustomActionProperty.getKey()key - Whether this property is a key.this@Stability(value=Stable) public CustomActionProperty.Builder queryable(Boolean queryable)
CustomActionProperty.getQueryable()queryable - Whether this property is queryable.
Note that only a single property of a custom Action can be queryable.this@Stability(value=Stable) public CustomActionProperty.Builder secret(Boolean secret)
CustomActionProperty.getSecret()secret - Whether this property is secret, like a password, or access key.this@Stability(value=Stable) public CustomActionProperty.Builder type(String type)
CustomActionProperty.getType()type - The type of the property, like 'String', 'Number', or 'Boolean'.this@Stability(value=Stable) public CustomActionProperty build()
build in interface software.amazon.jsii.Builder<CustomActionProperty>CustomActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.