@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisassociatePrincipalFromPortfolioRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DisassociatePrincipalFromPortfolioRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisassociatePrincipalFromPortfolioRequest |
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 supported value is
IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID. |
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(String principalType)
The supported value is
IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID. |
String |
toString()
Returns a string representation of this object.
|
DisassociatePrincipalFromPortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
DisassociatePrincipalFromPortfolioRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
DisassociatePrincipalFromPortfolioRequest |
withPrincipalARN(String principalARN)
The ARN of the principal (IAM user, role, or group).
|
DisassociatePrincipalFromPortfolioRequest |
withPrincipalType(PrincipalType principalType)
The supported value is
IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID. |
DisassociatePrincipalFromPortfolioRequest |
withPrincipalType(String principalType)
The supported value is
IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID. |
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 DisassociatePrincipalFromPortfolioRequest()
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 DisassociatePrincipalFromPortfolioRequest 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 DisassociatePrincipalFromPortfolioRequest 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.
principalARN - The ARN of the principal (IAM user, role, or group). This field allows an ARN with no
accountID if PrincipalType is IAM_PATTERN.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.
accountID if PrincipalType is IAM_PATTERN.public DisassociatePrincipalFromPortfolioRequest 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.
principalARN - The ARN of the principal (IAM user, role, or group). This field allows an ARN with no
accountID if PrincipalType is IAM_PATTERN.public void setPrincipalType(String principalType)
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID.
principalType - The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
use no accountID.PrincipalTypepublic String getPrincipalType()
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID.
IAM if you use a fully defined ARN, or IAM_PATTERN if
you use no accountID.PrincipalTypepublic DisassociatePrincipalFromPortfolioRequest withPrincipalType(String principalType)
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID.
principalType - The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
use no accountID.PrincipalTypepublic DisassociatePrincipalFromPortfolioRequest withPrincipalType(PrincipalType principalType)
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use no
accountID.
principalType - The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
use no accountID.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public DisassociatePrincipalFromPortfolioRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.