public static interface CreatePortfolioRequest.Builder extends ServiceCatalogRequest.Builder, CopyableBuilder<CreatePortfolioRequest.Builder,CreatePortfolioRequest>
Modifier and Type | Method and Description |
---|---|
CreatePortfolioRequest.Builder |
acceptLanguage(String acceptLanguage)
The language code.
|
CreatePortfolioRequest.Builder |
description(String description)
The text description of the portfolio.
|
CreatePortfolioRequest.Builder |
displayName(String displayName)
The name to use for display purposes.
|
CreatePortfolioRequest.Builder |
idempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests.
|
CreatePortfolioRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreatePortfolioRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreatePortfolioRequest.Builder |
providerName(String providerName)
The name of the portfolio provider.
|
CreatePortfolioRequest.Builder |
tags(Collection<Tag> tags)
Tags to associate with the new portfolio.
|
CreatePortfolioRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Tags to associate with the new portfolio.
|
CreatePortfolioRequest.Builder |
tags(Tag... tags)
Tags to associate with the new portfolio.
|
build
overrideConfiguration
copy
applyMutation, build
CreatePortfolioRequest.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
CreatePortfolioRequest.Builder displayName(String displayName)
The name to use for display purposes.
displayName
- The name to use for display purposes.CreatePortfolioRequest.Builder description(String description)
The text description of the portfolio.
description
- The text description of the portfolio.CreatePortfolioRequest.Builder providerName(String providerName)
The name of the portfolio provider.
providerName
- The name of the portfolio provider.CreatePortfolioRequest.Builder tags(Collection<Tag> tags)
Tags to associate with the new portfolio.
tags
- Tags to associate with the new portfolio.CreatePortfolioRequest.Builder tags(Tag... tags)
Tags to associate with the new portfolio.
tags
- Tags to associate with the new portfolio.CreatePortfolioRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to associate with the new portfolio.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreatePortfolioRequest.Builder idempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
idempotencyToken
- A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided
that you also specify a different idempotency token for each request.CreatePortfolioRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreatePortfolioRequest.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.