Class DescribePortfolioSharesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest
-
- software.amazon.awssdk.services.servicecatalog.model.DescribePortfolioSharesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribePortfolioSharesRequest.Builder,DescribePortfolioSharesRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribePortfolioSharesRequest extends ServiceCatalogRequest implements ToCopyableBuilder<DescribePortfolioSharesRequest.Builder,DescribePortfolioSharesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribePortfolioSharesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribePortfolioSharesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerpageSize()The maximum number of items to return with this call.StringpageToken()The page token for the next set of results.StringportfolioId()The unique identifier of the portfolio for which shares will be retrieved.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribePortfolioSharesRequest.Builder>serializableBuilderClass()DescribePortfolioSharesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.DescribePortfolioShareTypetype()The type of portfolio share to summarize.StringtypeAsString()The type of portfolio share to summarize.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
portfolioId
public final String portfolioId()
The unique identifier of the portfolio for which shares will be retrieved.
- Returns:
- The unique identifier of the portfolio for which shares will be retrieved.
-
type
public final 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.If the service returns an enum value that is not available in the current SDK version,
typewill returnDescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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. - See Also:
DescribePortfolioShareType
-
typeAsString
public final String typeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
typewill returnDescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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. - See Also:
DescribePortfolioShareType
-
pageToken
public final String pageToken()
The page token for the next set of results. To retrieve the first set of results, use null.
- Returns:
- The page token for the next set of results. To retrieve the first set of results, use null.
-
pageSize
public final Integer pageSize()
The maximum number of items to return with this call.
- Returns:
- The maximum number of items to return with this call.
-
toBuilder
public DescribePortfolioSharesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribePortfolioSharesRequest.Builder,DescribePortfolioSharesRequest>- Specified by:
toBuilderin classServiceCatalogRequest
-
builder
public static DescribePortfolioSharesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribePortfolioSharesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-