@Generated(value="software.amazon.awssdk:codegen") public final class AssociatePrincipalWithPortfolioRequest extends ServiceCatalogRequest implements ToCopyableBuilder<AssociatePrincipalWithPortfolioRequest.Builder,AssociatePrincipalWithPortfolioRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociatePrincipalWithPortfolioRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
The language code.
|
static AssociatePrincipalWithPortfolioRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
portfolioId()
The portfolio identifier.
|
String |
principalARN()
The ARN of the principal (IAM user, role, or group).
|
PrincipalType |
principalType()
The principal type.
|
String |
principalTypeAsString()
The principal type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociatePrincipalWithPortfolioRequest.Builder> |
serializableBuilderClass() |
AssociatePrincipalWithPortfolioRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String acceptLanguage()
The language code.
en - English (default)
jp - Japanese
zh - Chinese
en - English (default)
jp - Japanese
zh - Chinese
public final String portfolioId()
The portfolio identifier.
public final 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.
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 final 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.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic final String principalTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID.PrincipalTypepublic AssociatePrincipalWithPortfolioRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociatePrincipalWithPortfolioRequest.Builder,AssociatePrincipalWithPortfolioRequest>toBuilder in class ServiceCatalogRequestpublic static AssociatePrincipalWithPortfolioRequest.Builder builder()
public static Class<? extends AssociatePrincipalWithPortfolioRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.