@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GitBranchFilterCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The Git repository branches specified as filter criteria to start the pipeline.
Constructor and Description |
---|
GitBranchFilterCriteria() |
Modifier and Type | Method and Description |
---|---|
GitBranchFilterCriteria |
clone() |
boolean |
equals(Object obj) |
List<String> |
getExcludes()
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.
|
List<String> |
getIncludes()
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts
the pipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExcludes(Collection<String> excludes)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.
|
void |
setIncludes(Collection<String> includes)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts
the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
GitBranchFilterCriteria |
withExcludes(Collection<String> excludes)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.
|
GitBranchFilterCriteria |
withExcludes(String... excludes)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.
|
GitBranchFilterCriteria |
withIncludes(Collection<String> includes)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts
the pipeline.
|
GitBranchFilterCriteria |
withIncludes(String... includes)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts
the pipeline.
|
public List<String> getIncludes()
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
public void setIncludes(Collection<String> includes)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
includes
- The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that
starts the pipeline.public GitBranchFilterCriteria withIncludes(String... includes)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
NOTE: This method appends the values to the existing list (if any). Use
setIncludes(java.util.Collection)
or withIncludes(java.util.Collection)
if you want to override
the existing values.
includes
- The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that
starts the pipeline.public GitBranchFilterCriteria withIncludes(Collection<String> includes)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
includes
- The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that
starts the pipeline.public List<String> getExcludes()
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
public void setExcludes(Collection<String> excludes)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
excludes
- The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.public GitBranchFilterCriteria withExcludes(String... excludes)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
NOTE: This method appends the values to the existing list (if any). Use
setExcludes(java.util.Collection)
or withExcludes(java.util.Collection)
if you want to override
the existing values.
excludes
- The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.public GitBranchFilterCriteria withExcludes(Collection<String> excludes)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
excludes
- The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the
pipeline.public String toString()
toString
in class Object
Object.toString()
public GitBranchFilterCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.