@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 to use for this operation.
|
String |
getPortfolioId()
The portfolio identifier.
|
String |
getPrincipalARN()
The ARN representing the principal (IAM user, role, or group).
|
String |
getPrincipalType()
The principal type.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
void |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
void |
setPrincipalARN(String principalARN)
The ARN representing 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; useful for testing and debugging.
|
AssociatePrincipalWithPortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
AssociatePrincipalWithPortfolioRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
AssociatePrincipalWithPortfolioRequest |
withPrincipalARN(String principalARN)
The ARN representing 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic AssociatePrincipalWithPortfolioRequest()
public void setAcceptLanguage(String acceptLanguage)
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
acceptLanguage - The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
public String getAcceptLanguage()
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
public AssociatePrincipalWithPortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
acceptLanguage - The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
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 representing the principal (IAM user, role, or group).
principalARN - The ARN representing the principal (IAM user, role, or group).public String getPrincipalARN()
The ARN representing the principal (IAM user, role, or group).
public AssociatePrincipalWithPortfolioRequest withPrincipalARN(String principalARN)
The ARN representing the principal (IAM user, role, or group).
principalARN - The ARN representing the principal (IAM user, role, or group).public void setPrincipalType(String principalType)
The principal type. Must be IAM
principalType - The principal type. Must be IAMPrincipalTypepublic String getPrincipalType()
The principal type. Must be IAM
IAMPrincipalTypepublic AssociatePrincipalWithPortfolioRequest withPrincipalType(String principalType)
The principal type. Must be IAM
principalType - The principal type. Must be IAMPrincipalTypepublic void setPrincipalType(PrincipalType principalType)
The principal type. Must be IAM
principalType - The principal type. Must be IAMPrincipalTypepublic AssociatePrincipalWithPortfolioRequest withPrincipalType(PrincipalType principalType)
The principal type. Must be IAM
principalType - The principal type. Must be IAMPrincipalTypepublic String toString()
toString in class ObjectObject.toString()public AssociatePrincipalWithPortfolioRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.