@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).
public final PrincipalType principalType()
The principal type. The supported value is IAM.
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.PrincipalTypepublic final String principalTypeAsString()
The principal type. The supported value is IAM.
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.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 © 2021. All rights reserved.