Interface PortfolioShareDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>,SdkBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>,SdkPojo
- Enclosing class:
- PortfolioShareDetail
public static interface PortfolioShareDetail.Builder extends SdkPojo, CopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PortfolioShareDetail.Builderaccepted(Boolean accepted)Indicates whether the shared portfolio is imported by the recipient account.PortfolioShareDetail.BuilderprincipalId(String principalId)The identifier of the recipient entity that received the portfolio share.PortfolioShareDetail.BuildersharePrincipals(Boolean sharePrincipals)Indicates ifPrincipalsharing is enabled or disabled for the portfolio share.PortfolioShareDetail.BuildershareTagOptions(Boolean shareTagOptions)Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.PortfolioShareDetail.Buildertype(String type)The type of the portfolio share.PortfolioShareDetail.Buildertype(DescribePortfolioShareType type)The type of the portfolio share.-
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
-
-
-
-
Method Detail
-
principalId
PortfolioShareDetail.Builder principalId(String principalId)
The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
- Parameters:
principalId- The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
PortfolioShareDetail.Builder type(String type)
The type of the portfolio share.
- Parameters:
type- The type of the portfolio share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DescribePortfolioShareType,DescribePortfolioShareType
-
type
PortfolioShareDetail.Builder type(DescribePortfolioShareType type)
The type of the portfolio share.
- Parameters:
type- The type of the portfolio share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DescribePortfolioShareType,DescribePortfolioShareType
-
accepted
PortfolioShareDetail.Builder accepted(Boolean accepted)
Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
- Parameters:
accepted- Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shareTagOptions
PortfolioShareDetail.Builder shareTagOptions(Boolean shareTagOptions)
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
- Parameters:
shareTagOptions- Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharePrincipals
PortfolioShareDetail.Builder sharePrincipals(Boolean sharePrincipals)
Indicates if
Principalsharing is enabled or disabled for the portfolio share.- Parameters:
sharePrincipals- Indicates ifPrincipalsharing is enabled or disabled for the portfolio share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-