@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Evaluation extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about the approval rules applied to a pull request and whether conditions have been met.
Constructor and Description |
---|
Evaluation() |
Modifier and Type | Method and Description |
---|---|
Evaluation |
clone() |
boolean |
equals(Object obj) |
List<String> |
getApprovalRulesNotSatisfied()
The names of the approval rules that have not had their conditions met.
|
List<String> |
getApprovalRulesSatisfied()
The names of the approval rules that have had their conditions met.
|
Boolean |
getApproved()
Whether the state of the pull request is approved.
|
Boolean |
getOverridden()
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
|
int |
hashCode() |
Boolean |
isApproved()
Whether the state of the pull request is approved.
|
Boolean |
isOverridden()
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApprovalRulesNotSatisfied(Collection<String> approvalRulesNotSatisfied)
The names of the approval rules that have not had their conditions met.
|
void |
setApprovalRulesSatisfied(Collection<String> approvalRulesSatisfied)
The names of the approval rules that have had their conditions met.
|
void |
setApproved(Boolean approved)
Whether the state of the pull request is approved.
|
void |
setOverridden(Boolean overridden)
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
|
String |
toString()
Returns a string representation of this object.
|
Evaluation |
withApprovalRulesNotSatisfied(Collection<String> approvalRulesNotSatisfied)
The names of the approval rules that have not had their conditions met.
|
Evaluation |
withApprovalRulesNotSatisfied(String... approvalRulesNotSatisfied)
The names of the approval rules that have not had their conditions met.
|
Evaluation |
withApprovalRulesSatisfied(Collection<String> approvalRulesSatisfied)
The names of the approval rules that have had their conditions met.
|
Evaluation |
withApprovalRulesSatisfied(String... approvalRulesSatisfied)
The names of the approval rules that have had their conditions met.
|
Evaluation |
withApproved(Boolean approved)
Whether the state of the pull request is approved.
|
Evaluation |
withOverridden(Boolean overridden)
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
|
public void setApproved(Boolean approved)
Whether the state of the pull request is approved.
approved
- Whether the state of the pull request is approved.public Boolean getApproved()
Whether the state of the pull request is approved.
public Evaluation withApproved(Boolean approved)
Whether the state of the pull request is approved.
approved
- Whether the state of the pull request is approved.public Boolean isApproved()
Whether the state of the pull request is approved.
public void setOverridden(Boolean overridden)
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
overridden
- Whether the approval rule requirements for the pull request have been overridden and no longer need to be
met.public Boolean getOverridden()
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
public Evaluation withOverridden(Boolean overridden)
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
overridden
- Whether the approval rule requirements for the pull request have been overridden and no longer need to be
met.public Boolean isOverridden()
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
public List<String> getApprovalRulesSatisfied()
The names of the approval rules that have had their conditions met.
public void setApprovalRulesSatisfied(Collection<String> approvalRulesSatisfied)
The names of the approval rules that have had their conditions met.
approvalRulesSatisfied
- The names of the approval rules that have had their conditions met.public Evaluation withApprovalRulesSatisfied(String... approvalRulesSatisfied)
The names of the approval rules that have had their conditions met.
NOTE: This method appends the values to the existing list (if any). Use
setApprovalRulesSatisfied(java.util.Collection)
or
withApprovalRulesSatisfied(java.util.Collection)
if you want to override the existing values.
approvalRulesSatisfied
- The names of the approval rules that have had their conditions met.public Evaluation withApprovalRulesSatisfied(Collection<String> approvalRulesSatisfied)
The names of the approval rules that have had their conditions met.
approvalRulesSatisfied
- The names of the approval rules that have had their conditions met.public List<String> getApprovalRulesNotSatisfied()
The names of the approval rules that have not had their conditions met.
public void setApprovalRulesNotSatisfied(Collection<String> approvalRulesNotSatisfied)
The names of the approval rules that have not had their conditions met.
approvalRulesNotSatisfied
- The names of the approval rules that have not had their conditions met.public Evaluation withApprovalRulesNotSatisfied(String... approvalRulesNotSatisfied)
The names of the approval rules that have not had their conditions met.
NOTE: This method appends the values to the existing list (if any). Use
setApprovalRulesNotSatisfied(java.util.Collection)
or
withApprovalRulesNotSatisfied(java.util.Collection)
if you want to override the existing values.
approvalRulesNotSatisfied
- The names of the approval rules that have not had their conditions met.public Evaluation withApprovalRulesNotSatisfied(Collection<String> approvalRulesNotSatisfied)
The names of the approval rules that have not had their conditions met.
approvalRulesNotSatisfied
- The names of the approval rules that have not had their conditions met.public String toString()
toString
in class Object
Object.toString()
public Evaluation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.