public static interface AcceptPortfolioShareRequest.Builder extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<AcceptPortfolioShareRequest.Builder,AcceptPortfolioShareRequest>
Modifier and Type | Method and Description |
---|---|
AcceptPortfolioShareRequest.Builder |
acceptLanguage(String acceptLanguage)
The language code.
|
AcceptPortfolioShareRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AcceptPortfolioShareRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AcceptPortfolioShareRequest.Builder |
portfolioId(String portfolioId)
The portfolio identifier.
|
AcceptPortfolioShareRequest.Builder |
portfolioShareType(PortfolioShareType portfolioShareType)
The type of shared portfolios to accept.
|
AcceptPortfolioShareRequest.Builder |
portfolioShareType(String portfolioShareType)
The type of shared portfolios to accept.
|
build
overrideConfiguration
copy
applyMutation, build
AcceptPortfolioShareRequest.Builder acceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
AcceptPortfolioShareRequest.Builder portfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.AcceptPortfolioShareRequest.Builder portfolioShareType(String portfolioShareType)
The type of shared portfolios to accept. The default is to accept imported portfolios.
AWS_ORGANIZATIONS
- Accept portfolios shared by the master 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
portfolioShareType
- The type of shared portfolios to accept. The default is to accept imported portfolios.
AWS_ORGANIZATIONS
- Accept portfolios shared by the master 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
PortfolioShareType
,
PortfolioShareType
AcceptPortfolioShareRequest.Builder portfolioShareType(PortfolioShareType portfolioShareType)
The type of shared portfolios to accept. The default is to accept imported portfolios.
AWS_ORGANIZATIONS
- Accept portfolios shared by the master 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
portfolioShareType
- The type of shared portfolios to accept. The default is to accept imported portfolios.
AWS_ORGANIZATIONS
- Accept portfolios shared by the master 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
PortfolioShareType
,
PortfolioShareType
AcceptPortfolioShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AcceptPortfolioShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.