@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). This field allows an ARN with no accountID if
PrincipalType is IAM_PATTERN.
You can associate multiple IAM patterns even if the account has no principal with that name. This is
useful in Principal Name Sharing if you want to share a principal without creating it in the account that owns
the portfolio.
principalARN - The ARN of the principal (IAM user, role, or group). This field allows an ARN with no
accountID if PrincipalType is IAM_PATTERN.
You can associate multiple IAM patterns even if the account has no principal with that name.
This is useful in Principal Name Sharing if you want to share a principal without creating it in the
account that owns the portfolio.
public String getPrincipalARN()
The ARN of the principal (IAM user, role, or group). This field allows an ARN with no accountID if
PrincipalType is IAM_PATTERN.
You can associate multiple IAM patterns even if the account has no principal with that name. This is
useful in Principal Name Sharing if you want to share a principal without creating it in the account that owns
the portfolio.
accountID if PrincipalType is IAM_PATTERN.
You can associate multiple IAM patterns even if the account has no principal with that name.
This is useful in Principal Name Sharing if you want to share a principal without creating it in the
account that owns the portfolio.
public AssociatePrincipalWithPortfolioRequest withPrincipalARN(String principalARN)
The ARN of the principal (IAM user, role, or group). This field allows an ARN with no accountID if
PrincipalType is IAM_PATTERN.
You can associate multiple IAM patterns even if the account has no principal with that name. This is
useful in Principal Name Sharing if you want to share a principal without creating it in the account that owns
the portfolio.
principalARN - The ARN of the principal (IAM user, role, or group). This field allows an ARN with no
accountID if PrincipalType is IAM_PATTERN.
You can associate multiple IAM patterns even if the account has no principal with that name.
This is useful in Principal Name Sharing if you want to share a principal without creating it in the
account that owns the portfolio.
public void setPrincipalType(String principalType)
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.
principalType - The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic String getPrincipalType()
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.
IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic AssociatePrincipalWithPortfolioRequest withPrincipalType(String principalType)
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.
principalType - The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic void setPrincipalType(PrincipalType principalType)
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.
principalType - The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic AssociatePrincipalWithPortfolioRequest withPrincipalType(PrincipalType principalType)
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.
principalType - The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public AssociatePrincipalWithPortfolioRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.