@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() |
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 |
getShareTagOptions()
Enables or disables
TagOptions sharing when creating the portfolio share. |
int |
hashCode() |
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 |
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 |
withShareTagOptions(Boolean shareTagOptions)
Enables or disables
TagOptions sharing when creating the portfolio share. |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAcceptLanguage(String acceptLanguage)
The language code.
en - English (default)
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
en - English (default)
jp - Japanese
zh - Chinese
public String getAcceptLanguage()
The language code.
en - English (default)
jp - Japanese
zh - Chinese
en - English (default)
jp - Japanese
zh - Chinese
public CreatePortfolioShareRequest withAcceptLanguage(String acceptLanguage)
The language code.
en - English (default)
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
en - English (default)
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 String toString()
toString in class ObjectObject.toString()public CreatePortfolioShareRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.