Class CfnCustomActionType.ConfigurationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomActionType.ConfigurationPropertiesProperty>
- Enclosing interface:
- CfnCustomActionType.ConfigurationPropertiesProperty
CfnCustomActionType.ConfigurationPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getDescription()
Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getKey()
key
(IResolvable key) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getKey()
Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getName()
Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getQueryable()
queryable
(IResolvable queryable) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getQueryable()
Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getRequired()
required
(IResolvable required) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getRequired()
Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getSecret()
secret
(IResolvable secret) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getSecret()
Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder key(Boolean key) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getKey()
- Parameters:
key
- Whether the configuration property is a key. This parameter is required.- Returns:
this
-
key
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder key(IResolvable key) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getKey()
- Parameters:
key
- Whether the configuration property is a key. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder name(String name) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getName()
- Parameters:
name
- The name of the action configuration property. This parameter is required.- Returns:
this
-
required
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder required(Boolean required) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getRequired()
- Parameters:
required
- Whether the configuration property is a required value. This parameter is required.- Returns:
this
-
required
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder required(IResolvable required) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getRequired()
- Parameters:
required
- Whether the configuration property is a required value. This parameter is required.- Returns:
this
-
secret
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder secret(Boolean secret) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getSecret()
- Parameters:
secret
- Whether the configuration property is secret. This parameter is required. Secrets are hidden from all calls except forGetJobDetails
,GetThirdPartyJobDetails
,PollForJobs
, andPollForThirdPartyJobs
.When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.
- Returns:
this
-
secret
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder secret(IResolvable secret) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getSecret()
- Parameters:
secret
- Whether the configuration property is secret. This parameter is required. Secrets are hidden from all calls except forGetJobDetails
,GetThirdPartyJobDetails
,PollForJobs
, andPollForThirdPartyJobs
.When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.
- Returns:
this
-
description
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder description(String description) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getDescription()
- Parameters:
description
- The description of the action configuration property that is displayed to users.- Returns:
this
-
queryable
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder queryable(Boolean queryable) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getQueryable()
- Parameters:
queryable
- Indicates that the property is used withPollForJobs
. When creating a custom action, an action can have up to one queryable property. If it has one, that property must be both required and not secret.If you create a pipeline with a custom action type, and that custom action contains a queryable property, the value for that configuration property is subject to other restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens.
- Returns:
this
-
queryable
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder queryable(IResolvable queryable) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getQueryable()
- Parameters:
queryable
- Indicates that the property is used withPollForJobs
. When creating a custom action, an action can have up to one queryable property. If it has one, that property must be both required and not secret.If you create a pipeline with a custom action type, and that custom action contains a queryable property, the value for that configuration property is subject to other restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens.
- Returns:
this
-
type
@Stability(Stable) public CfnCustomActionType.ConfigurationPropertiesProperty.Builder type(String type) Sets the value ofCfnCustomActionType.ConfigurationPropertiesProperty.getType()
- Parameters:
type
- The type of the configuration property.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomActionType.ConfigurationPropertiesProperty>
- Returns:
- a new instance of
CfnCustomActionType.ConfigurationPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-