@Generated(value="software.amazon.awssdk:codegen") public class ActionDeclaration extends Object implements StructuredPojo, ToCopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
Represents information about an action declaration.
Modifier and Type | Class and Description |
---|---|
static interface |
ActionDeclaration.Builder |
Modifier and Type | Method and Description |
---|---|
ActionTypeId |
actionTypeId()
The configuration information for the action type.
|
static ActionDeclaration.Builder |
builder() |
Map<String,String> |
configuration()
The action declaration's configuration.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<InputArtifact> |
inputArtifacts()
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The action declaration's name.
|
List<OutputArtifact> |
outputArtifacts()
The name or ID of the result of the action declaration, such as a test or build artifact.
|
String |
roleArn()
The ARN of the IAM service role that will perform the declared action.
|
Integer |
runOrder()
The order in which actions are run.
|
static Class<? extends ActionDeclaration.Builder> |
serializableBuilderClass() |
ActionDeclaration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The action declaration's name.
public ActionTypeId actionTypeId()
The configuration information for the action type.
public Integer runOrder()
The order in which actions are run.
public Map<String,String> configuration()
The action declaration's configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<OutputArtifact> outputArtifacts()
The name or ID of the result of the action declaration, such as a test or build artifact.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<InputArtifact> inputArtifacts()
The name or ID of the artifact consumed by the action, such as a test or build artifact.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String roleArn()
The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
public ActionDeclaration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
public static ActionDeclaration.Builder builder()
public static Class<? extends ActionDeclaration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.