@Generated(value="software.amazon.awssdk:codegen") public final class VoteOnProposalRequest extends ManagedBlockchainRequest implements ToCopyableBuilder<VoteOnProposalRequest.Builder,VoteOnProposalRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
VoteOnProposalRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VoteOnProposalRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
networkId()
The unique identifier of the network.
|
String |
proposalId()
The unique identifier of the proposal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VoteOnProposalRequest.Builder> |
serializableBuilderClass() |
VoteOnProposalRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VoteValue |
vote()
The value of the vote.
|
String |
voteAsString()
The value of the vote.
|
String |
voterMemberId()
The unique identifier of the member casting the vote.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String networkId()
The unique identifier of the network.
public final String proposalId()
The unique identifier of the proposal.
public final String voterMemberId()
The unique identifier of the member casting the vote.
public final VoteValue vote()
The value of the vote.
If the service returns an enum value that is not available in the current SDK version, vote will return
VoteValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
voteAsString().
VoteValuepublic final String voteAsString()
The value of the vote.
If the service returns an enum value that is not available in the current SDK version, vote will return
VoteValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
voteAsString().
VoteValuepublic VoteOnProposalRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VoteOnProposalRequest.Builder,VoteOnProposalRequest>toBuilder in class ManagedBlockchainRequestpublic static VoteOnProposalRequest.Builder builder()
public static Class<? extends VoteOnProposalRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.