@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApprovalRuleOverriddenEventMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about an override event for approval rules for a pull request.
Constructor and Description |
---|
ApprovalRuleOverriddenEventMetadata() |
Modifier and Type | Method and Description |
---|---|
ApprovalRuleOverriddenEventMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getOverrideStatus()
The status of the override event.
|
String |
getRevisionId()
The revision ID of the pull request when the override event occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOverrideStatus(String overrideStatus)
The status of the override event.
|
void |
setRevisionId(String revisionId)
The revision ID of the pull request when the override event occurred.
|
String |
toString()
Returns a string representation of this object.
|
ApprovalRuleOverriddenEventMetadata |
withOverrideStatus(OverrideStatus overrideStatus)
The status of the override event.
|
ApprovalRuleOverriddenEventMetadata |
withOverrideStatus(String overrideStatus)
The status of the override event.
|
ApprovalRuleOverriddenEventMetadata |
withRevisionId(String revisionId)
The revision ID of the pull request when the override event occurred.
|
public void setRevisionId(String revisionId)
The revision ID of the pull request when the override event occurred.
revisionId
- The revision ID of the pull request when the override event occurred.public String getRevisionId()
The revision ID of the pull request when the override event occurred.
public ApprovalRuleOverriddenEventMetadata withRevisionId(String revisionId)
The revision ID of the pull request when the override event occurred.
revisionId
- The revision ID of the pull request when the override event occurred.public void setOverrideStatus(String overrideStatus)
The status of the override event.
overrideStatus
- The status of the override event.OverrideStatus
public String getOverrideStatus()
The status of the override event.
OverrideStatus
public ApprovalRuleOverriddenEventMetadata withOverrideStatus(String overrideStatus)
The status of the override event.
overrideStatus
- The status of the override event.OverrideStatus
public ApprovalRuleOverriddenEventMetadata withOverrideStatus(OverrideStatus overrideStatus)
The status of the override event.
overrideStatus
- The status of the override event.OverrideStatus
public String toString()
toString
in class Object
Object.toString()
public ApprovalRuleOverriddenEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.