public static final class CfnPortfolioShareProps.Builder
extends java.lang.Object
CfnPortfolioShareProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPortfolioShareProps.Builder |
acceptLanguage(java.lang.String acceptLanguage)
Sets the value of
CfnPortfolioShareProps.getAcceptLanguage() |
CfnPortfolioShareProps.Builder |
accountId(java.lang.String accountId)
Sets the value of
CfnPortfolioShareProps.getAccountId() |
CfnPortfolioShareProps |
build()
Builds the configured instance.
|
CfnPortfolioShareProps.Builder |
portfolioId(java.lang.String portfolioId)
Sets the value of
CfnPortfolioShareProps.getPortfolioId() |
CfnPortfolioShareProps.Builder |
shareTagOptions(java.lang.Boolean shareTagOptions)
Sets the value of
CfnPortfolioShareProps.getShareTagOptions() |
CfnPortfolioShareProps.Builder |
shareTagOptions(IResolvable shareTagOptions)
Sets the value of
CfnPortfolioShareProps.getShareTagOptions() |
public CfnPortfolioShareProps.Builder accountId(java.lang.String accountId)
CfnPortfolioShareProps.getAccountId()
accountId
- The AWS account ID. This parameter is required.
For example, 123456789012
.this
public CfnPortfolioShareProps.Builder portfolioId(java.lang.String portfolioId)
CfnPortfolioShareProps.getPortfolioId()
portfolioId
- The portfolio identifier. This parameter is required.this
public CfnPortfolioShareProps.Builder acceptLanguage(java.lang.String acceptLanguage)
CfnPortfolioShareProps.getAcceptLanguage()
acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinesethis
public CfnPortfolioShareProps.Builder shareTagOptions(java.lang.Boolean shareTagOptions)
CfnPortfolioShareProps.getShareTagOptions()
shareTagOptions
- Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.this
public CfnPortfolioShareProps.Builder shareTagOptions(IResolvable shareTagOptions)
CfnPortfolioShareProps.getShareTagOptions()
shareTagOptions
- Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.this
public CfnPortfolioShareProps build()
CfnPortfolioShareProps
java.lang.NullPointerException
- if any required attribute was not provided