@Generated(value="software.amazon.awssdk:codegen") public final class CreatePortfolioShareRequest extends ServiceCatalogRequest implements ToCopyableBuilder<CreatePortfolioShareRequest.Builder,CreatePortfolioShareRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePortfolioShareRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
The language code.
|
String |
accountId()
The Amazon Web Services account ID.
|
static CreatePortfolioShareRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OrganizationNode |
organizationNode()
The organization node to whom you are going to share.
|
String |
portfolioId()
The portfolio identifier.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePortfolioShareRequest.Builder> |
serializableBuilderClass() |
Boolean |
sharePrincipals()
Enables or disables
Principal sharing when creating the portfolio share. |
Boolean |
shareTagOptions()
Enables or disables
TagOptions sharing when creating the portfolio share. |
CreatePortfolioShareRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String acceptLanguage()
The language code.
jp - Japanese
zh - Chinese
jp - Japanese
zh - Chinese
public final String portfolioId()
The portfolio identifier.
public final String accountId()
The Amazon Web Services account ID. For example, 123456789012.
123456789012.public final OrganizationNode organizationNode()
The organization node to whom you are going to share. When you pass OrganizationNode, it creates
PortfolioShare for all of the Amazon Web Services accounts that are associated to the
OrganizationNode. The output returns a PortfolioShareToken, which enables the
administrator to monitor the status of the PortfolioShare creation process.
OrganizationNode, it
creates PortfolioShare for all of the Amazon Web Services accounts that are associated to
the OrganizationNode. The output returns a PortfolioShareToken, which enables
the administrator to monitor the status of the PortfolioShare creation process.public final Boolean shareTagOptions()
Enables or disables TagOptions sharing when creating the portfolio share. If this flag is not
provided, TagOptions sharing is disabled.
TagOptions sharing when creating the portfolio share. If this flag is
not provided, TagOptions sharing is disabled.public final Boolean sharePrincipals()
Enables or disables Principal sharing when creating the portfolio share. If this flag is not
provided, principal sharing is disabled.
When you enable Principal Name Sharing for a portfolio share, the share recipient account end users with a
principal that matches any of the associated IAM patterns can provision products from the portfolio. Once shared,
the share recipient can view associations of PrincipalType: IAM_PATTERN on their
portfolio. You can create the principals in the recipient account before or after creating the share.
Principal sharing when creating the portfolio share. If this flag is not
provided, principal sharing is disabled.
When you enable Principal Name Sharing for a portfolio share, the share recipient account end users with
a principal that matches any of the associated IAM patterns can provision products from the portfolio.
Once shared, the share recipient can view associations of PrincipalType:
IAM_PATTERN on their portfolio. You can create the principals in the recipient account
before or after creating the share.
public CreatePortfolioShareRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePortfolioShareRequest.Builder,CreatePortfolioShareRequest>toBuilder in class ServiceCatalogRequestpublic static CreatePortfolioShareRequest.Builder builder()
public static Class<? extends CreatePortfolioShareRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.