Interface CreatePortfolioShareRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePortfolioShareRequest.Builder,
,CreatePortfolioShareRequest> SdkBuilder<CreatePortfolioShareRequest.Builder,
,CreatePortfolioShareRequest> SdkPojo
,SdkRequest.Builder
,ServiceCatalogRequest.Builder
- Enclosing class:
CreatePortfolioShareRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.The Amazon Web Services account ID.organizationNode
(Consumer<OrganizationNode.Builder> organizationNode) The organization node to whom you are going to share.organizationNode
(OrganizationNode organizationNode) The organization node to whom you are going to share.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portfolioId
(String portfolioId) The portfolio identifier.sharePrincipals
(Boolean sharePrincipals) This parameter is only supported for portfolios with an OrganizationalNode Type ofORGANIZATION
orORGANIZATIONAL_UNIT
.shareTagOptions
(Boolean shareTagOptions) Enables or disablesTagOptions
sharing when creating the portfolio share.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest.Builder
build
-
Method Details
-
acceptLanguage
The language code.
-
jp
- Japanese -
zh
- Chinese
- Parameters:
acceptLanguage
- The language code.-
jp
- Japanese -
zh
- Chinese
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
portfolioId
The portfolio identifier.
- Parameters:
portfolioId
- The portfolio identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID. For example,
123456789012
.- Parameters:
accountId
- The Amazon Web Services account ID. For example,123456789012
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationNode
The organization node to whom you are going to share. When you pass
OrganizationNode
, it createsPortfolioShare
for all of the Amazon Web Services accounts that are associated to theOrganizationNode
. The output returns aPortfolioShareToken
, which enables the administrator to monitor the status of thePortfolioShare
creation process.- Parameters:
organizationNode
- The organization node to whom you are going to share. When you passOrganizationNode
, it createsPortfolioShare
for all of the Amazon Web Services accounts that are associated to theOrganizationNode
. The output returns aPortfolioShareToken
, which enables the administrator to monitor the status of thePortfolioShare
creation process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationNode
default CreatePortfolioShareRequest.Builder organizationNode(Consumer<OrganizationNode.Builder> organizationNode) The organization node to whom you are going to share. When you pass
This is a convenience method that creates an instance of theOrganizationNode
, it createsPortfolioShare
for all of the Amazon Web Services accounts that are associated to theOrganizationNode
. The output returns aPortfolioShareToken
, which enables the administrator to monitor the status of thePortfolioShare
creation process.OrganizationNode.Builder
avoiding the need to create one manually viaOrganizationNode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationNode(OrganizationNode)
.- Parameters:
organizationNode
- a consumer that will call methods onOrganizationNode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePortfolioShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePortfolioShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-