public static final class CfnCustomActionType.ConfigurationPropertiesProperty.Builder
extends java.lang.Object
CfnCustomActionType.ConfigurationPropertiesProperty
Constructor and Description |
---|
Builder() |
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder key(java.lang.Boolean key)
CfnCustomActionType.ConfigurationPropertiesProperty.getKey()
key
- Whether the configuration property is a key. This parameter is required.this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder key(IResolvable key)
CfnCustomActionType.ConfigurationPropertiesProperty.getKey()
key
- Whether the configuration property is a key. This parameter is required.this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder name(java.lang.String name)
CfnCustomActionType.ConfigurationPropertiesProperty.getName()
name
- The name of the action configuration property. This parameter is required.this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder required(java.lang.Boolean required)
CfnCustomActionType.ConfigurationPropertiesProperty.getRequired()
required
- Whether the configuration property is a required value. This parameter is required.this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder required(IResolvable required)
CfnCustomActionType.ConfigurationPropertiesProperty.getRequired()
required
- Whether the configuration property is a required value. This parameter is required.this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder secret(java.lang.Boolean secret)
CfnCustomActionType.ConfigurationPropertiesProperty.getSecret()
secret
- Whether the configuration property is secret. This parameter is required.
Secrets are hidden from all calls except for GetJobDetails
, GetThirdPartyJobDetails
, PollForJobs
, and PollForThirdPartyJobs
.
When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.
this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder secret(IResolvable secret)
CfnCustomActionType.ConfigurationPropertiesProperty.getSecret()
secret
- Whether the configuration property is secret. This parameter is required.
Secrets are hidden from all calls except for GetJobDetails
, GetThirdPartyJobDetails
, PollForJobs
, and PollForThirdPartyJobs
.
When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.
this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder description(java.lang.String description)
CfnCustomActionType.ConfigurationPropertiesProperty.getDescription()
description
- The description of the action configuration property that is displayed to users.this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder queryable(java.lang.Boolean queryable)
CfnCustomActionType.ConfigurationPropertiesProperty.getQueryable()
queryable
- Indicates that the property is used with `PollForJobs` .
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.
this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder queryable(IResolvable queryable)
CfnCustomActionType.ConfigurationPropertiesProperty.getQueryable()
queryable
- Indicates that the property is used with `PollForJobs` .
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.
this
public CfnCustomActionType.ConfigurationPropertiesProperty.Builder type(java.lang.String type)
CfnCustomActionType.ConfigurationPropertiesProperty.getType()
type
- The type of the configuration property.this
public CfnCustomActionType.ConfigurationPropertiesProperty build()
CfnCustomActionType.ConfigurationPropertiesProperty
java.lang.NullPointerException
- if any required attribute was not provided