@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()
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 representing 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 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.
|
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, 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, withSdkRequestTimeout
public 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 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 IAM
PrincipalType
public String getPrincipalType()
The principal type. Must be IAM
IAM
PrincipalType
public AssociatePrincipalWithPortfolioRequest withPrincipalType(String principalType)
The principal type. Must be IAM
principalType
- The principal type. Must be IAM
PrincipalType
public void setPrincipalType(PrincipalType principalType)
The principal type. Must be IAM
principalType
- The principal type. Must be IAM
PrincipalType
public AssociatePrincipalWithPortfolioRequest withPrincipalType(PrincipalType principalType)
The principal type. Must be IAM
principalType
- The principal type. Must be IAM
PrincipalType
public String toString()
toString
in class Object
Object.toString()
public AssociatePrincipalWithPortfolioRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.