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 ofORGANIZATIONorORGANIZATIONAL_UNIT.shareTagOptions(Boolean shareTagOptions) Enables or disablesTagOptionssharing when creating the portfolio share.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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 createsPortfolioSharefor 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 thePortfolioSharecreation process.- Parameters:
organizationNode- The organization node to whom you are going to share. When you passOrganizationNode, it createsPortfolioSharefor 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 thePortfolioSharecreation 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 createsPortfolioSharefor 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 thePortfolioSharecreation process.OrganizationNode.Builderavoiding the need to create one manually viaOrganizationNode.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-