Class CfnPipelinePropsMixin.FieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.FieldProperty>
- Enclosing interface:
CfnPipelinePropsMixin.FieldProperty
CfnPipelinePropsMixin.FieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.FieldProperty.getKey()Sets the value ofCfnPipelinePropsMixin.FieldProperty.getRefValue()stringValue(String stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()stringValue(IInstanceProfileRef stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()stringValue(IRoleRef stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()stringValue(ITopicRef stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnPipelinePropsMixin.FieldProperty.getKey()- Parameters:
key- Specifies the name of a field for a particular object. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide .- Returns:
this
-
refValue
Sets the value ofCfnPipelinePropsMixin.FieldProperty.getRefValue()- Parameters:
refValue- A field value that you specify as an identifier of another object in the same pipeline definition.You can specify the field value as either a string value (
StringValue) or a reference to another object (RefValue), but not both.Required if the key that you are using requires it.
- Returns:
this
-
stringValue
@Stability(Stable) public CfnPipelinePropsMixin.FieldProperty.Builder stringValue(String stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()- Parameters:
stringValue- A field value that you specify as a string. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide .You can specify the field value as either a string value (
StringValue) or a reference to another object (RefValue), but not both.Required if the key that you are using requires it.
- Returns:
this
-
stringValue
@Stability(Stable) public CfnPipelinePropsMixin.FieldProperty.Builder stringValue(IInstanceProfileRef stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()- Parameters:
stringValue- A field value that you specify as a string. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide .You can specify the field value as either a string value (
StringValue) or a reference to another object (RefValue), but not both.Required if the key that you are using requires it.
- Returns:
this
-
stringValue
@Stability(Stable) public CfnPipelinePropsMixin.FieldProperty.Builder stringValue(IRoleRef stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()- Parameters:
stringValue- A field value that you specify as a string. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide .You can specify the field value as either a string value (
StringValue) or a reference to another object (RefValue), but not both.Required if the key that you are using requires it.
- Returns:
this
-
stringValue
@Stability(Stable) public CfnPipelinePropsMixin.FieldProperty.Builder stringValue(ITopicRef stringValue) Sets the value ofCfnPipelinePropsMixin.FieldProperty.getStringValue()- Parameters:
stringValue- A field value that you specify as a string. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide .You can specify the field value as either a string value (
StringValue) or a reference to another object (RefValue), but not both.Required if the key that you are using requires it.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.FieldProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.FieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-