@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
String |
getPortfolioId()
The portfolio identifier.
|
String |
getPrincipalARN()
The ARN of the principal (user, role, or group).
|
String |
getPrincipalType()
The supported value is
IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters. |
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 (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
specify an IAM ARN with no AccountId, with or without wildcard characters. |
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 (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
specify an IAM ARN with no AccountId, with or without wildcard characters. |
DisassociatePrincipalFromPortfolioRequest |
withPrincipalType(String principalType)
The supported value is
IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters. |
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 DisassociatePrincipalFromPortfolioRequest()
public void setAcceptLanguage(String acceptLanguage)
The language code.
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
jp - Japanese
zh - Chinese
public String getAcceptLanguage()
The language code.
jp - Japanese
zh - Chinese
jp - Japanese
zh - Chinese
public DisassociatePrincipalFromPortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
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 (user, role, or group). This field allows an ARN with no accountID with or
without wildcard characters if PrincipalType is IAM_PATTERN.
principalARN - The ARN of the principal (user, role, or group). This field allows an ARN with no accountID
with or without wildcard characters if PrincipalType is IAM_PATTERN.public String getPrincipalARN()
The ARN of the principal (user, role, or group). This field allows an ARN with no accountID with or
without wildcard characters if PrincipalType is IAM_PATTERN.
accountID
with or without wildcard characters if PrincipalType is IAM_PATTERN.public DisassociatePrincipalFromPortfolioRequest withPrincipalARN(String principalARN)
The ARN of the principal (user, role, or group). This field allows an ARN with no accountID with or
without wildcard characters if PrincipalType is IAM_PATTERN.
principalARN - The ARN of the principal (user, role, or group). This field allows an ARN with no accountID
with or without wildcard characters 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
specify an IAM ARN with no AccountId, with or without wildcard characters.
principalType - The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters.PrincipalTypepublic String getPrincipalType()
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters.
IAM if you use a fully defined ARN, or IAM_PATTERN if
you specify an IAM ARN with no AccountId, with or without wildcard characters.PrincipalTypepublic DisassociatePrincipalFromPortfolioRequest withPrincipalType(String principalType)
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters.
principalType - The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters.PrincipalTypepublic DisassociatePrincipalFromPortfolioRequest withPrincipalType(PrincipalType principalType)
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters.
principalType - The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you
specify an IAM ARN with no AccountId, with or without wildcard characters.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public DisassociatePrincipalFromPortfolioRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()