@Generated(value="software.amazon.awssdk:codegen") public final class AcceptPortfolioShareRequest extends ServiceCatalogRequest implements ToCopyableBuilder<AcceptPortfolioShareRequest.Builder,AcceptPortfolioShareRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AcceptPortfolioShareRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
The language code.
|
static AcceptPortfolioShareRequest.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.
|
PortfolioShareType |
portfolioShareType()
The type of shared portfolios to accept.
|
String |
portfolioShareTypeAsString()
The type of shared portfolios to accept.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AcceptPortfolioShareRequest.Builder> |
serializableBuilderClass() |
AcceptPortfolioShareRequest.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.
jp - Japanese
zh - Chinese
jp - Japanese
zh - Chinese
public final String portfolioId()
The portfolio identifier.
public final PortfolioShareType portfolioShareType()
The type of shared portfolios to accept. The default is to accept imported portfolios.
AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.
IMPORTED - Accept imported portfolios.
AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
If the service returns an enum value that is not available in the current SDK version,
portfolioShareType will return PortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from portfolioShareTypeAsString().
AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.
IMPORTED - Accept imported portfolios.
AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
PortfolioShareTypepublic final String portfolioShareTypeAsString()
The type of shared portfolios to accept. The default is to accept imported portfolios.
AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.
IMPORTED - Accept imported portfolios.
AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
If the service returns an enum value that is not available in the current SDK version,
portfolioShareType will return PortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from portfolioShareTypeAsString().
AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.
IMPORTED - Accept imported portfolios.
AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
PortfolioShareTypepublic AcceptPortfolioShareRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AcceptPortfolioShareRequest.Builder,AcceptPortfolioShareRequest>toBuilder in class ServiceCatalogRequestpublic static AcceptPortfolioShareRequest.Builder builder()
public static Class<? extends AcceptPortfolioShareRequest.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 © 2023. All rights reserved.