@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePortfolioShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePortfolioShareRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePortfolioShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
String |
getAccountId()
The Amazon Web Services account ID.
|
OrganizationNode |
getOrganizationNode()
The organization node to whom you are going to share.
|
String |
getPortfolioId()
The portfolio identifier.
|
Boolean |
getSharePrincipals()
Enables or disables
Principal sharing when creating the portfolio share. |
Boolean |
getShareTagOptions()
Enables or disables
TagOptions sharing when creating the portfolio share. |
int |
hashCode() |
Boolean |
isSharePrincipals()
Enables or disables
Principal sharing when creating the portfolio share. |
Boolean |
isShareTagOptions()
Enables or disables
TagOptions sharing when creating the portfolio share. |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setAccountId(String accountId)
The Amazon Web Services account ID.
|
void |
setOrganizationNode(OrganizationNode organizationNode)
The organization node to whom you are going to share.
|
void |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
void |
setSharePrincipals(Boolean sharePrincipals)
Enables or disables
Principal sharing when creating the portfolio share. |
void |
setShareTagOptions(Boolean shareTagOptions)
Enables or disables
TagOptions sharing when creating the portfolio share. |
String |
toString()
Returns a string representation of this object.
|
CreatePortfolioShareRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
CreatePortfolioShareRequest |
withAccountId(String accountId)
The Amazon Web Services account ID.
|
CreatePortfolioShareRequest |
withOrganizationNode(OrganizationNode organizationNode)
The organization node to whom you are going to share.
|
CreatePortfolioShareRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
CreatePortfolioShareRequest |
withSharePrincipals(Boolean sharePrincipals)
Enables or disables
Principal sharing when creating the portfolio share. |
CreatePortfolioShareRequest |
withShareTagOptions(Boolean shareTagOptions)
Enables or disables
TagOptions sharing when creating the portfolio share. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public String getAcceptLanguage()
The language code.
jp
- Japanese
zh
- Chinese
jp
- Japanese
zh
- Chinese
public CreatePortfolioShareRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public void setPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.public String getPortfolioId()
The portfolio identifier.
public CreatePortfolioShareRequest withPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.public void setAccountId(String accountId)
The Amazon Web Services account ID. For example, 123456789012
.
accountId
- The Amazon Web Services account ID. For example, 123456789012
.public String getAccountId()
The Amazon Web Services account ID. For example, 123456789012
.
123456789012
.public CreatePortfolioShareRequest withAccountId(String accountId)
The Amazon Web Services account ID. For example, 123456789012
.
accountId
- The Amazon Web Services account ID. For example, 123456789012
.public void setOrganizationNode(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
- 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.public OrganizationNode getOrganizationNode()
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 CreatePortfolioShareRequest withOrganizationNode(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
- 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.public void setShareTagOptions(Boolean shareTagOptions)
Enables or disables TagOptions
sharing when creating the portfolio share. If this flag is not
provided, TagOptions sharing is disabled.
shareTagOptions
- Enables or disables TagOptions
sharing when creating the portfolio share. If this flag is
not provided, TagOptions sharing is disabled.public Boolean getShareTagOptions()
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 CreatePortfolioShareRequest withShareTagOptions(Boolean shareTagOptions)
Enables or disables TagOptions
sharing when creating the portfolio share. If this flag is not
provided, TagOptions sharing is disabled.
shareTagOptions
- Enables or disables TagOptions
sharing when creating the portfolio share. If this flag is
not provided, TagOptions sharing is disabled.public Boolean isShareTagOptions()
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 void setSharePrincipals(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.
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.
public Boolean getSharePrincipals()
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 withSharePrincipals(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.
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.
public Boolean isSharePrincipals()
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 String toString()
toString
in class Object
Object.toString()
public CreatePortfolioShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()