Class CfnCustomActionTypeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomActionTypeProps>
- Enclosing interface:
CfnCustomActionTypeProps
CfnCustomActionTypeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCustomActionTypeProps.getCategory()configurationProperties(List<? extends Object> configurationProperties) Sets the value ofCfnCustomActionTypeProps.getConfigurationProperties()configurationProperties(IResolvable configurationProperties) Sets the value ofCfnCustomActionTypeProps.getConfigurationProperties()inputArtifactDetails(IResolvable inputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getInputArtifactDetails()inputArtifactDetails(CfnCustomActionType.ArtifactDetailsProperty inputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getInputArtifactDetails()outputArtifactDetails(IResolvable outputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getOutputArtifactDetails()outputArtifactDetails(CfnCustomActionType.ArtifactDetailsProperty outputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getOutputArtifactDetails()Sets the value ofCfnCustomActionTypeProps.getProvider()settings(IResolvable settings) Sets the value ofCfnCustomActionTypeProps.getSettings()settings(CfnCustomActionType.SettingsProperty settings) Sets the value ofCfnCustomActionTypeProps.getSettings()Sets the value ofCfnCustomActionTypeProps.getTags()Sets the value ofCfnCustomActionTypeProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
category
Sets the value ofCfnCustomActionTypeProps.getCategory()- Parameters:
category- The category of the custom action, such as a build action or a test action. This parameter is required.- Returns:
this
-
inputArtifactDetails
@Stability(Stable) public CfnCustomActionTypeProps.Builder inputArtifactDetails(IResolvable inputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getInputArtifactDetails()- Parameters:
inputArtifactDetails- The details of the input artifact for the action, such as its commit ID. This parameter is required.- Returns:
this
-
inputArtifactDetails
@Stability(Stable) public CfnCustomActionTypeProps.Builder inputArtifactDetails(CfnCustomActionType.ArtifactDetailsProperty inputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getInputArtifactDetails()- Parameters:
inputArtifactDetails- The details of the input artifact for the action, such as its commit ID. This parameter is required.- Returns:
this
-
outputArtifactDetails
@Stability(Stable) public CfnCustomActionTypeProps.Builder outputArtifactDetails(IResolvable outputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getOutputArtifactDetails()- Parameters:
outputArtifactDetails- The details of the output artifact of the action, such as its commit ID. This parameter is required.- Returns:
this
-
outputArtifactDetails
@Stability(Stable) public CfnCustomActionTypeProps.Builder outputArtifactDetails(CfnCustomActionType.ArtifactDetailsProperty outputArtifactDetails) Sets the value ofCfnCustomActionTypeProps.getOutputArtifactDetails()- Parameters:
outputArtifactDetails- The details of the output artifact of the action, such as its commit ID. This parameter is required.- Returns:
this
-
provider
Sets the value ofCfnCustomActionTypeProps.getProvider()- Parameters:
provider- The provider of the service used in the custom action, such as CodeDeploy. This parameter is required.- Returns:
this
-
version
Sets the value ofCfnCustomActionTypeProps.getVersion()- Parameters:
version- The version identifier of the custom action. This parameter is required.- Returns:
this
-
configurationProperties
@Stability(Stable) public CfnCustomActionTypeProps.Builder configurationProperties(IResolvable configurationProperties) Sets the value ofCfnCustomActionTypeProps.getConfigurationProperties()- Parameters:
configurationProperties- The configuration properties for the custom action.You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline .
- Returns:
this
-
configurationProperties
@Stability(Stable) public CfnCustomActionTypeProps.Builder configurationProperties(List<? extends Object> configurationProperties) Sets the value ofCfnCustomActionTypeProps.getConfigurationProperties()- Parameters:
configurationProperties- The configuration properties for the custom action.You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline .
- Returns:
this
-
settings
Sets the value ofCfnCustomActionTypeProps.getSettings()- Parameters:
settings- URLs that provide users information about this custom action.- Returns:
this
-
settings
@Stability(Stable) public CfnCustomActionTypeProps.Builder settings(CfnCustomActionType.SettingsProperty settings) Sets the value ofCfnCustomActionTypeProps.getSettings()- Parameters:
settings- URLs that provide users information about this custom action.- Returns:
this
-
tags
Sets the value ofCfnCustomActionTypeProps.getTags()- Parameters:
tags- The tags for the custom action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomActionTypeProps>- Returns:
- a new instance of
CfnCustomActionTypeProps - Throws:
NullPointerException- if any required attribute was not provided
-