@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProposalSummary extends Object implements Serializable, Cloneable, StructuredPojo
Properties of a proposal.
| Constructor and Description |
|---|
ProposalSummary() |
| Modifier and Type | Method and Description |
|---|---|
ProposalSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date and time that the proposal was created.
|
String |
getDescription()
The description of the proposal.
|
Date |
getExpirationDate()
The date and time that the proposal expires.
|
String |
getProposalId()
The unique identifier of the proposal.
|
String |
getProposedByMemberId()
The unique identifier of the member that created the proposal.
|
String |
getProposedByMemberName()
The name of the member that created the proposal.
|
String |
getStatus()
The status of the proposal.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCreationDate(Date creationDate)
The date and time that the proposal was created.
|
void |
setDescription(String description)
The description of the proposal.
|
void |
setExpirationDate(Date expirationDate)
The date and time that the proposal expires.
|
void |
setProposalId(String proposalId)
The unique identifier of the proposal.
|
void |
setProposedByMemberId(String proposedByMemberId)
The unique identifier of the member that created the proposal.
|
void |
setProposedByMemberName(String proposedByMemberName)
The name of the member that created the proposal.
|
void |
setStatus(String status)
The status of the proposal.
|
String |
toString()
Returns a string representation of this object.
|
ProposalSummary |
withCreationDate(Date creationDate)
The date and time that the proposal was created.
|
ProposalSummary |
withDescription(String description)
The description of the proposal.
|
ProposalSummary |
withExpirationDate(Date expirationDate)
The date and time that the proposal expires.
|
ProposalSummary |
withProposalId(String proposalId)
The unique identifier of the proposal.
|
ProposalSummary |
withProposedByMemberId(String proposedByMemberId)
The unique identifier of the member that created the proposal.
|
ProposalSummary |
withProposedByMemberName(String proposedByMemberName)
The name of the member that created the proposal.
|
ProposalSummary |
withStatus(ProposalStatus status)
The status of the proposal.
|
ProposalSummary |
withStatus(String status)
The status of the proposal.
|
public void setProposalId(String proposalId)
The unique identifier of the proposal.
proposalId - The unique identifier of the proposal.public String getProposalId()
The unique identifier of the proposal.
public ProposalSummary withProposalId(String proposalId)
The unique identifier of the proposal.
proposalId - The unique identifier of the proposal.public void setDescription(String description)
The description of the proposal.
description - The description of the proposal.public String getDescription()
The description of the proposal.
public ProposalSummary withDescription(String description)
The description of the proposal.
description - The description of the proposal.public void setProposedByMemberId(String proposedByMemberId)
The unique identifier of the member that created the proposal.
proposedByMemberId - The unique identifier of the member that created the proposal.public String getProposedByMemberId()
The unique identifier of the member that created the proposal.
public ProposalSummary withProposedByMemberId(String proposedByMemberId)
The unique identifier of the member that created the proposal.
proposedByMemberId - The unique identifier of the member that created the proposal.public void setProposedByMemberName(String proposedByMemberName)
The name of the member that created the proposal.
proposedByMemberName - The name of the member that created the proposal.public String getProposedByMemberName()
The name of the member that created the proposal.
public ProposalSummary withProposedByMemberName(String proposedByMemberName)
The name of the member that created the proposal.
proposedByMemberName - The name of the member that created the proposal.public void setStatus(String status)
The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members according
to the VotingPolicy specified for the Network. The specified proposal actions are
carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before
the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was
approved could not be completed because of an error.
status - The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified proposal
actions are carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome
before the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that
was approved could not be completed because of an error.
ProposalStatuspublic String getStatus()
The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members according
to the VotingPolicy specified for the Network. The specified proposal actions are
carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before
the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was
approved could not be completed because of an error.
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified proposal
actions are carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal
outcome before the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that
was approved could not be completed because of an error.
ProposalStatuspublic ProposalSummary withStatus(String status)
The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members according
to the VotingPolicy specified for the Network. The specified proposal actions are
carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before
the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was
approved could not be completed because of an error.
status - The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified proposal
actions are carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome
before the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that
was approved could not be completed because of an error.
ProposalStatuspublic ProposalSummary withStatus(ProposalStatus status)
The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members according
to the VotingPolicy specified for the Network. The specified proposal actions are
carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before
the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was
approved could not be completed because of an error.
status - The status of the proposal. Values are as follows:
IN_PROGRESS - The proposal is active and open for member voting.
APPROVED - The proposal was approved with sufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified proposal
actions are carried out.
REJECTED - The proposal was rejected with insufficient YES votes among members
according to the VotingPolicy specified for the Network. The specified
ProposalActions are not carried out.
EXPIRED - Members did not cast the number of votes required to determine the proposal outcome
before the proposal expired. The specified ProposalActions are not carried out.
ACTION_FAILED - One or more of the specified ProposalActions in a proposal that
was approved could not be completed because of an error.
ProposalStatuspublic void setCreationDate(Date creationDate)
The date and time that the proposal was created.
creationDate - The date and time that the proposal was created.public Date getCreationDate()
The date and time that the proposal was created.
public ProposalSummary withCreationDate(Date creationDate)
The date and time that the proposal was created.
creationDate - The date and time that the proposal was created.public void setExpirationDate(Date expirationDate)
The date and time that the proposal expires. This is the CreationDate plus the
ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this
date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the
proposal is EXPIRED and Actions are not carried out.
expirationDate - The date and time that the proposal expires. This is the CreationDate plus the
ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After
this date and time, if members have not cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED and Actions are not carried out.public Date getExpirationDate()
The date and time that the proposal expires. This is the CreationDate plus the
ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this
date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the
proposal is EXPIRED and Actions are not carried out.
CreationDate plus the
ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After
this date and time, if members have not cast enough votes to determine the outcome according to the
voting policy, the proposal is EXPIRED and Actions are not carried out.public ProposalSummary withExpirationDate(Date expirationDate)
The date and time that the proposal expires. This is the CreationDate plus the
ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this
date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the
proposal is EXPIRED and Actions are not carried out.
expirationDate - The date and time that the proposal expires. This is the CreationDate plus the
ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After
this date and time, if members have not cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED and Actions are not carried out.public String toString()
toString in class ObjectObject.toString()public ProposalSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.