Interface ProposalSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProposalSummary.Builder,ProposalSummary>,SdkBuilder<ProposalSummary.Builder,ProposalSummary>,SdkPojo
- Enclosing class:
- ProposalSummary
public static interface ProposalSummary.Builder extends SdkPojo, CopyableBuilder<ProposalSummary.Builder,ProposalSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProposalSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the proposal.ProposalSummary.BuildercreationDate(Instant creationDate)The date and time that the proposal was created.ProposalSummary.Builderdescription(String description)The description of the proposal.ProposalSummary.BuilderexpirationDate(Instant expirationDate)The date and time that the proposal expires.ProposalSummary.BuilderproposalId(String proposalId)The unique identifier of the proposal.ProposalSummary.BuilderproposedByMemberId(String proposedByMemberId)The unique identifier of the member that created the proposal.ProposalSummary.BuilderproposedByMemberName(String proposedByMemberName)The name of the member that created the proposal.ProposalSummary.Builderstatus(String status)The status of the proposal.ProposalSummary.Builderstatus(ProposalStatus status)The status of the proposal.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
proposalId
ProposalSummary.Builder proposalId(String proposalId)
The unique identifier of the proposal.
- Parameters:
proposalId- The unique identifier of the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ProposalSummary.Builder description(String description)
The description of the proposal.
- Parameters:
description- The description of the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposedByMemberId
ProposalSummary.Builder proposedByMemberId(String proposedByMemberId)
The unique identifier of the member that created the proposal.
- Parameters:
proposedByMemberId- The unique identifier of the member that created the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposedByMemberName
ProposalSummary.Builder proposedByMemberName(String proposedByMemberName)
The name of the member that created the proposal.
- Parameters:
proposedByMemberName- The name of the member that created the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ProposalSummary.Builder status(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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsaren't carried out. -
EXPIRED- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsaren't carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved couldn't be completed because of an error.
- Parameters:
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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsaren't carried out. -
EXPIRED- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsaren't carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved couldn't be completed because of an error.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProposalStatus,ProposalStatus
-
-
status
ProposalSummary.Builder status(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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsaren't carried out. -
EXPIRED- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsaren't carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved couldn't be completed because of an error.
- Parameters:
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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsaren't carried out. -
EXPIRED- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsaren't carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved couldn't be completed because of an error.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProposalStatus,ProposalStatus
-
-
creationDate
ProposalSummary.Builder creationDate(Instant creationDate)
The date and time that the proposal was created.
- Parameters:
creationDate- The date and time that the proposal was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDate
ProposalSummary.Builder expirationDate(Instant expirationDate)
The date and time that the proposal expires. This is the
CreationDateplus theProposalDurationInHoursthat is specified in theProposalThresholdPolicy. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal isEXPIREDandActionsaren't carried out.- Parameters:
expirationDate- The date and time that the proposal expires. This is theCreationDateplus theProposalDurationInHoursthat is specified in theProposalThresholdPolicy. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal isEXPIREDandActionsaren't carried out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ProposalSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Parameters:
arn- The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-