@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatePrincipalWithPortfolioRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociatePrincipalWithPortfolioRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociatePrincipalWithPortfolioRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
String |
getPortfolioId()
The portfolio identifier.
|
String |
getPrincipalARN()
The ARN of the principal (IAM user, role, or group).
|
String |
getPrincipalType()
The principal type.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
void |
setPrincipalARN(String principalARN)
The ARN of the principal (IAM user, role, or group).
|
void |
setPrincipalType(PrincipalType principalType)
The principal type.
|
void |
setPrincipalType(String principalType)
The principal type.
|
String |
toString()
Returns a string representation of this object.
|
AssociatePrincipalWithPortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
AssociatePrincipalWithPortfolioRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
AssociatePrincipalWithPortfolioRequest |
withPrincipalARN(String principalARN)
The ARN of the principal (IAM user, role, or group).
|
AssociatePrincipalWithPortfolioRequest |
withPrincipalType(PrincipalType principalType)
The principal type.
|
AssociatePrincipalWithPortfolioRequest |
withPrincipalType(String principalType)
The principal type.
|
addHandlerContext, copyBaseTo, 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 AssociatePrincipalWithPortfolioRequest()
public void setAcceptLanguage(String acceptLanguage)
The language code.
en - English (default)
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
en - English (default)
jp - Japanese
zh - Chinese
public String getAcceptLanguage()
The language code.
en - English (default)
jp - Japanese
zh - Chinese
en - English (default)
jp - Japanese
zh - Chinese
public AssociatePrincipalWithPortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code.
en - English (default)
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
en - English (default)
jp - Japanese
zh - Chinese
public void setPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId - The portfolio identifier.public String getPortfolioId()
The portfolio identifier.
public AssociatePrincipalWithPortfolioRequest withPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId - The portfolio identifier.public void setPrincipalARN(String principalARN)
The ARN of the principal (IAM user, role, or group).
principalARN - The ARN of the principal (IAM user, role, or group).public String getPrincipalARN()
The ARN of the principal (IAM user, role, or group).
public AssociatePrincipalWithPortfolioRequest withPrincipalARN(String principalARN)
The ARN of the principal (IAM user, role, or group).
principalARN - The ARN of the principal (IAM user, role, or group).public void setPrincipalType(String principalType)
The principal type. The supported value is IAM.
principalType - The principal type. The supported value is IAM.PrincipalTypepublic String getPrincipalType()
The principal type. The supported value is IAM.
IAM.PrincipalTypepublic AssociatePrincipalWithPortfolioRequest withPrincipalType(String principalType)
The principal type. The supported value is IAM.
principalType - The principal type. The supported value is IAM.PrincipalTypepublic void setPrincipalType(PrincipalType principalType)
The principal type. The supported value is IAM.
principalType - The principal type. The supported value is IAM.PrincipalTypepublic AssociatePrincipalWithPortfolioRequest withPrincipalType(PrincipalType principalType)
The principal type. The supported value is IAM.
principalType - The principal type. The supported value is IAM.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public AssociatePrincipalWithPortfolioRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.