@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateMemberToFarmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateMemberToFarmRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateMemberToFarmRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFarmId()
The ID of the farm to associate with the member.
|
String |
getIdentityStoreId()
The identity store ID of the member to associate with the farm.
|
String |
getMembershipLevel()
The principal's membership level for the associated farm.
|
String |
getPrincipalId()
The member's principal ID to associate with the farm.
|
String |
getPrincipalType()
The principal type of the member to associate with the farm.
|
int |
hashCode() |
void |
setFarmId(String farmId)
The ID of the farm to associate with the member.
|
void |
setIdentityStoreId(String identityStoreId)
The identity store ID of the member to associate with the farm.
|
void |
setMembershipLevel(String membershipLevel)
The principal's membership level for the associated farm.
|
void |
setPrincipalId(String principalId)
The member's principal ID to associate with the farm.
|
void |
setPrincipalType(String principalType)
The principal type of the member to associate with the farm.
|
String |
toString()
Returns a string representation of this object.
|
AssociateMemberToFarmRequest |
withFarmId(String farmId)
The ID of the farm to associate with the member.
|
AssociateMemberToFarmRequest |
withIdentityStoreId(String identityStoreId)
The identity store ID of the member to associate with the farm.
|
AssociateMemberToFarmRequest |
withMembershipLevel(MembershipLevel membershipLevel)
The principal's membership level for the associated farm.
|
AssociateMemberToFarmRequest |
withMembershipLevel(String membershipLevel)
The principal's membership level for the associated farm.
|
AssociateMemberToFarmRequest |
withPrincipalId(String principalId)
The member's principal ID to associate with the farm.
|
AssociateMemberToFarmRequest |
withPrincipalType(PrincipalType principalType)
The principal type of the member to associate with the farm.
|
AssociateMemberToFarmRequest |
withPrincipalType(String principalType)
The principal type of the member to associate with the farm.
|
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 setFarmId(String farmId)
The ID of the farm to associate with the member.
farmId - The ID of the farm to associate with the member.public String getFarmId()
The ID of the farm to associate with the member.
public AssociateMemberToFarmRequest withFarmId(String farmId)
The ID of the farm to associate with the member.
farmId - The ID of the farm to associate with the member.public void setIdentityStoreId(String identityStoreId)
The identity store ID of the member to associate with the farm.
identityStoreId - The identity store ID of the member to associate with the farm.public String getIdentityStoreId()
The identity store ID of the member to associate with the farm.
public AssociateMemberToFarmRequest withIdentityStoreId(String identityStoreId)
The identity store ID of the member to associate with the farm.
identityStoreId - The identity store ID of the member to associate with the farm.public void setMembershipLevel(String membershipLevel)
The principal's membership level for the associated farm.
membershipLevel - The principal's membership level for the associated farm.MembershipLevelpublic String getMembershipLevel()
The principal's membership level for the associated farm.
MembershipLevelpublic AssociateMemberToFarmRequest withMembershipLevel(String membershipLevel)
The principal's membership level for the associated farm.
membershipLevel - The principal's membership level for the associated farm.MembershipLevelpublic AssociateMemberToFarmRequest withMembershipLevel(MembershipLevel membershipLevel)
The principal's membership level for the associated farm.
membershipLevel - The principal's membership level for the associated farm.MembershipLevelpublic void setPrincipalId(String principalId)
The member's principal ID to associate with the farm.
principalId - The member's principal ID to associate with the farm.public String getPrincipalId()
The member's principal ID to associate with the farm.
public AssociateMemberToFarmRequest withPrincipalId(String principalId)
The member's principal ID to associate with the farm.
principalId - The member's principal ID to associate with the farm.public void setPrincipalType(String principalType)
The principal type of the member to associate with the farm.
principalType - The principal type of the member to associate with the farm.PrincipalTypepublic String getPrincipalType()
The principal type of the member to associate with the farm.
PrincipalTypepublic AssociateMemberToFarmRequest withPrincipalType(String principalType)
The principal type of the member to associate with the farm.
principalType - The principal type of the member to associate with the farm.PrincipalTypepublic AssociateMemberToFarmRequest withPrincipalType(PrincipalType principalType)
The principal type of the member to associate with the farm.
principalType - The principal type of the member to associate with the farm.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public AssociateMemberToFarmRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()