@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProposalRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateProposalRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateProposalRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProposalActions |
getActions()
The type of actions proposed, such as inviting a member or removing a member.
|
String |
getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
String |
getDescription()
A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp.
|
String |
getMemberId()
The unique identifier of the member that is creating the proposal.
|
String |
getNetworkId()
The unique identifier of the network for which the proposal is made.
|
int |
hashCode() |
void |
setActions(ProposalActions actions)
The type of actions proposed, such as inviting a member or removing a member.
|
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
void |
setDescription(String description)
A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp.
|
void |
setMemberId(String memberId)
The unique identifier of the member that is creating the proposal.
|
void |
setNetworkId(String networkId)
The unique identifier of the network for which the proposal is made.
|
String |
toString()
Returns a string representation of this object.
|
CreateProposalRequest |
withActions(ProposalActions actions)
The type of actions proposed, such as inviting a member or removing a member.
|
CreateProposalRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
CreateProposalRequest |
withDescription(String description)
A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp.
|
CreateProposalRequest |
withMemberId(String memberId)
The unique identifier of the member that is creating the proposal.
|
CreateProposalRequest |
withNetworkId(String networkId)
The unique identifier of the network for which the proposal is made.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.
clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An
idempotent operation completes no more than one time. This identifier is required only if you make a
service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the
AWS CLI.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.
public CreateProposalRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.
clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An
idempotent operation completes no more than one time. This identifier is required only if you make a
service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the
AWS CLI.public void setNetworkId(String networkId)
The unique identifier of the network for which the proposal is made.
networkId - The unique identifier of the network for which the proposal is made.public String getNetworkId()
The unique identifier of the network for which the proposal is made.
public CreateProposalRequest withNetworkId(String networkId)
The unique identifier of the network for which the proposal is made.
networkId - The unique identifier of the network for which the proposal is made.public void setMemberId(String memberId)
The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single AWS account.
memberId - The unique identifier of the member that is creating the proposal. This identifier is especially useful
for identifying the member making the proposal when multiple members exist in a single AWS account.public String getMemberId()
The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single AWS account.
public CreateProposalRequest withMemberId(String memberId)
The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single AWS account.
memberId - The unique identifier of the member that is creating the proposal. This identifier is especially useful
for identifying the member making the proposal when multiple members exist in a single AWS account.public void setActions(ProposalActions actions)
The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations actions cannot also
contain Removals actions.
actions - The type of actions proposed, such as inviting a member or removing a member. The types of
Actions in a proposal are mutually exclusive. For example, a proposal with
Invitations actions cannot also contain Removals actions.public ProposalActions getActions()
The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations actions cannot also
contain Removals actions.
Actions in a proposal are mutually exclusive. For example, a proposal with
Invitations actions cannot also contain Removals actions.public CreateProposalRequest withActions(ProposalActions actions)
The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations actions cannot also
contain Removals actions.
actions - The type of actions proposed, such as inviting a member or removing a member. The types of
Actions in a proposal are mutually exclusive. For example, a proposal with
Invitations actions cannot also contain Removals actions.public void setDescription(String description)
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
description - A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp. as member."public String getDescription()
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
public CreateProposalRequest withDescription(String description)
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
description - A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp. as member."public String toString()
toString in class ObjectObject.toString()public CreateProposalRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()