CopyableBuilder<CreatePortfolioRequest.Builder,CreatePortfolioRequest>
, SdkBuilder<CreatePortfolioRequest.Builder,CreatePortfolioRequest>
public static interface CreatePortfolioRequest.Builder extends CopyableBuilder<CreatePortfolioRequest.Builder,CreatePortfolioRequest>
Modifier and Type | Method | Description |
---|---|---|
CreatePortfolioRequest.Builder |
acceptLanguage(String acceptLanguage) |
The language code to use for this operation.
|
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 |
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(Tag... tags) |
Tags to associate with the new portfolio.
|
copy
apply, build
CreatePortfolioRequest.Builder acceptLanguage(String acceptLanguage)
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
acceptLanguage
- The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to associate with the new portfolio.CreatePortfolioRequest.Builder idempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can create multiple resources using 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 create multiple resources using the same input in
multiple requests, provided that you also specify a different idempotency token for each request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.