@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePortfolioSharesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribePortfolioSharesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePortfolioSharesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getPageSize()
The maximum number of items to return with this call.
|
String |
getPageToken()
The page token for the next set of results.
|
String |
getPortfolioId()
The unique identifier of the portfolio for which shares will be retrieved.
|
String |
getType()
The type of portfolio share to summarize.
|
int |
hashCode() |
void |
setPageSize(Integer pageSize)
The maximum number of items to return with this call.
|
void |
setPageToken(String pageToken)
The page token for the next set of results.
|
void |
setPortfolioId(String portfolioId)
The unique identifier of the portfolio for which shares will be retrieved.
|
void |
setType(String type)
The type of portfolio share to summarize.
|
String |
toString()
Returns a string representation of this object.
|
DescribePortfolioSharesRequest |
withPageSize(Integer pageSize)
The maximum number of items to return with this call.
|
DescribePortfolioSharesRequest |
withPageToken(String pageToken)
The page token for the next set of results.
|
DescribePortfolioSharesRequest |
withPortfolioId(String portfolioId)
The unique identifier of the portfolio for which shares will be retrieved.
|
DescribePortfolioSharesRequest |
withType(DescribePortfolioShareType type)
The type of portfolio share to summarize.
|
DescribePortfolioSharesRequest |
withType(String type)
The type of portfolio share to summarize.
|
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 setPortfolioId(String portfolioId)
The unique identifier of the portfolio for which shares will be retrieved.
portfolioId
- The unique identifier of the portfolio for which shares will be retrieved.public String getPortfolioId()
The unique identifier of the portfolio for which shares will be retrieved.
public DescribePortfolioSharesRequest withPortfolioId(String portfolioId)
The unique identifier of the portfolio for which shares will be retrieved.
portfolioId
- The unique identifier of the portfolio for which shares will be retrieved.public void setType(String type)
The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every account in
the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
type
- The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share,
which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every
account in the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
DescribePortfolioShareType
public String getType()
The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every account in
the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every
account in the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
DescribePortfolioShareType
public DescribePortfolioSharesRequest withType(String type)
The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every account in
the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
type
- The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share,
which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every
account in the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
DescribePortfolioShareType
public DescribePortfolioSharesRequest withType(DescribePortfolioShareType type)
The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every account in
the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
type
- The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share,
which can be one of the following:
1. ACCOUNT
- Represents an external account to account share.
2. ORGANIZATION
- Represents a share to an organization. This share is available to every
account in the organization.
3. ORGANIZATIONAL_UNIT
- Represents a share to an organizational unit.
4. ORGANIZATION_MEMBER_ACCOUNT
- Represents a share to an account in the organization.
DescribePortfolioShareType
public void setPageToken(String pageToken)
The page token for the next set of results. To retrieve the first set of results, use null.
pageToken
- The page token for the next set of results. To retrieve the first set of results, use null.public String getPageToken()
The page token for the next set of results. To retrieve the first set of results, use null.
public DescribePortfolioSharesRequest withPageToken(String pageToken)
The page token for the next set of results. To retrieve the first set of results, use null.
pageToken
- The page token for the next set of results. To retrieve the first set of results, use null.public void setPageSize(Integer pageSize)
The maximum number of items to return with this call.
pageSize
- The maximum number of items to return with this call.public Integer getPageSize()
The maximum number of items to return with this call.
public DescribePortfolioSharesRequest withPageSize(Integer pageSize)
The maximum number of items to return with this call.
pageSize
- The maximum number of items to return with this call.public String toString()
toString
in class Object
Object.toString()
public DescribePortfolioSharesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()