@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePortfolioShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePortfolioShareRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePortfolioShareRequest |
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 of the recipient account.
|
OrganizationNode |
getOrganizationNode() |
String |
getPortfolioId()
The unique identifier of the portfolio for which the share will be updated.
|
Boolean |
getSharePrincipals()
A flag to enables or disables
Principals sharing in the portfolio. |
Boolean |
getShareTagOptions()
Enables or disables
TagOptions sharing for the portfolio share. |
int |
hashCode() |
Boolean |
isSharePrincipals()
A flag to enables or disables
Principals sharing in the portfolio. |
Boolean |
isShareTagOptions()
Enables or disables
TagOptions sharing for the portfolio share. |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setAccountId(String accountId)
The Amazon Web Services account Id of the recipient account.
|
void |
setOrganizationNode(OrganizationNode organizationNode) |
void |
setPortfolioId(String portfolioId)
The unique identifier of the portfolio for which the share will be updated.
|
void |
setSharePrincipals(Boolean sharePrincipals)
A flag to enables or disables
Principals sharing in the portfolio. |
void |
setShareTagOptions(Boolean shareTagOptions)
Enables or disables
TagOptions sharing for the portfolio share. |
String |
toString()
Returns a string representation of this object.
|
UpdatePortfolioShareRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
UpdatePortfolioShareRequest |
withAccountId(String accountId)
The Amazon Web Services account Id of the recipient account.
|
UpdatePortfolioShareRequest |
withOrganizationNode(OrganizationNode organizationNode) |
UpdatePortfolioShareRequest |
withPortfolioId(String portfolioId)
The unique identifier of the portfolio for which the share will be updated.
|
UpdatePortfolioShareRequest |
withSharePrincipals(Boolean sharePrincipals)
A flag to enables or disables
Principals sharing in the portfolio. |
UpdatePortfolioShareRequest |
withShareTagOptions(Boolean shareTagOptions)
Enables or disables
TagOptions sharing for 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 UpdatePortfolioShareRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public void setPortfolioId(String portfolioId)
The unique identifier of the portfolio for which the share will be updated.
portfolioId
- The unique identifier of the portfolio for which the share will be updated.public String getPortfolioId()
The unique identifier of the portfolio for which the share will be updated.
public UpdatePortfolioShareRequest withPortfolioId(String portfolioId)
The unique identifier of the portfolio for which the share will be updated.
portfolioId
- The unique identifier of the portfolio for which the share will be updated.public void setAccountId(String accountId)
The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.
accountId
- The Amazon Web Services account Id of the recipient account. This field is required when updating an
external account to account type share.public String getAccountId()
The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.
public UpdatePortfolioShareRequest withAccountId(String accountId)
The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.
accountId
- The Amazon Web Services account Id of the recipient account. This field is required when updating an
external account to account type share.public void setOrganizationNode(OrganizationNode organizationNode)
organizationNode
- public OrganizationNode getOrganizationNode()
public UpdatePortfolioShareRequest withOrganizationNode(OrganizationNode organizationNode)
organizationNode
- public void setShareTagOptions(Boolean shareTagOptions)
Enables or disables TagOptions
sharing for the portfolio share. If this field is not provided, the
current state of TagOptions sharing on the portfolio share will not be modified.
shareTagOptions
- Enables or disables TagOptions
sharing for the portfolio share. If this field is not
provided, the current state of TagOptions sharing on the portfolio share will not be modified.public Boolean getShareTagOptions()
Enables or disables TagOptions
sharing for the portfolio share. If this field is not provided, the
current state of TagOptions sharing on the portfolio share will not be modified.
TagOptions
sharing for the portfolio share. If this field is not
provided, the current state of TagOptions sharing on the portfolio share will not be modified.public UpdatePortfolioShareRequest withShareTagOptions(Boolean shareTagOptions)
Enables or disables TagOptions
sharing for the portfolio share. If this field is not provided, the
current state of TagOptions sharing on the portfolio share will not be modified.
shareTagOptions
- Enables or disables TagOptions
sharing for the portfolio share. If this field is not
provided, the current state of TagOptions sharing on the portfolio share will not be modified.public Boolean isShareTagOptions()
Enables or disables TagOptions
sharing for the portfolio share. If this field is not provided, the
current state of TagOptions sharing on the portfolio share will not be modified.
TagOptions
sharing for the portfolio share. If this field is not
provided, the current state of TagOptions sharing on the portfolio share will not be modified.public void setSharePrincipals(Boolean sharePrincipals)
A flag to enables or disables Principals
sharing in the portfolio. If this field is not provided,
the current state of the Principals
sharing on the portfolio share will not be modified.
sharePrincipals
- A flag to enables or disables Principals
sharing in the portfolio. If this field is not
provided, the current state of the Principals
sharing on the portfolio share will not be
modified.public Boolean getSharePrincipals()
A flag to enables or disables Principals
sharing in the portfolio. If this field is not provided,
the current state of the Principals
sharing on the portfolio share will not be modified.
Principals
sharing in the portfolio. If this field is not
provided, the current state of the Principals
sharing on the portfolio share will not be
modified.public UpdatePortfolioShareRequest withSharePrincipals(Boolean sharePrincipals)
A flag to enables or disables Principals
sharing in the portfolio. If this field is not provided,
the current state of the Principals
sharing on the portfolio share will not be modified.
sharePrincipals
- A flag to enables or disables Principals
sharing in the portfolio. If this field is not
provided, the current state of the Principals
sharing on the portfolio share will not be
modified.public Boolean isSharePrincipals()
A flag to enables or disables Principals
sharing in the portfolio. If this field is not provided,
the current state of the Principals
sharing on the portfolio share will not be modified.
Principals
sharing in the portfolio. If this field is not
provided, the current state of the Principals
sharing on the portfolio share will not be
modified.public String toString()
toString
in class Object
Object.toString()
public UpdatePortfolioShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()