@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectPortfolioShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RejectPortfolioShareRequest() |
Modifier and Type | Method and Description |
---|---|
RejectPortfolioShareRequest |
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 |
getPortfolioId()
The portfolio identifier.
|
String |
getPortfolioShareType()
The type of shared portfolios to reject.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
void |
setPortfolioShareType(String portfolioShareType)
The type of shared portfolios to reject.
|
String |
toString()
Returns a string representation of this object.
|
RejectPortfolioShareRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
RejectPortfolioShareRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
RejectPortfolioShareRequest |
withPortfolioShareType(PortfolioShareType portfolioShareType)
The type of shared portfolios to reject.
|
RejectPortfolioShareRequest |
withPortfolioShareType(String portfolioShareType)
The type of shared portfolios to reject.
|
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 RejectPortfolioShareRequest 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 RejectPortfolioShareRequest withPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.public void setPortfolioShareType(String portfolioShareType)
The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
portfolioShareType
- The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
PortfolioShareType
public String getPortfolioShareType()
The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
PortfolioShareType
public RejectPortfolioShareRequest withPortfolioShareType(String portfolioShareType)
The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
portfolioShareType
- The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
PortfolioShareType
public RejectPortfolioShareRequest withPortfolioShareType(PortfolioShareType portfolioShareType)
The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
portfolioShareType
- The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.
IMPORTED
- Reject imported portfolios.
AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)
For example,
aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
PortfolioShareType
public String toString()
toString
in class Object
Object.toString()
public RejectPortfolioShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()