Class DescribeProductAsAdminRequest
- 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.DescribeProductAsAdminRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeProductAsAdminRequest.Builder,DescribeProductAsAdminRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeProductAsAdminRequest extends ServiceCatalogRequest implements ToCopyableBuilder<DescribeProductAsAdminRequest.Builder,DescribeProductAsAdminRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeProductAsAdminRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceptLanguage()The language code.static DescribeProductAsAdminRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The product identifier.Stringname()The product name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeProductAsAdminRequest.Builder>serializableBuilderClass()StringsourcePortfolioId()The unique identifier of the shared portfolio that the specified product is associated with.DescribeProductAsAdminRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
acceptLanguage
public final String acceptLanguage()
The language code.
-
jp- Japanese -
zh- Chinese
- Returns:
- The language code.
-
jp- Japanese -
zh- Chinese
-
-
-
id
public final String id()
The product identifier.
- Returns:
- The product identifier.
-
name
public final String name()
The product name.
- Returns:
- The product name.
-
sourcePortfolioId
public final String sourcePortfolioId()
The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
- Returns:
- The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
-
toBuilder
public DescribeProductAsAdminRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeProductAsAdminRequest.Builder,DescribeProductAsAdminRequest>- Specified by:
toBuilderin classServiceCatalogRequest
-
builder
public static DescribeProductAsAdminRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeProductAsAdminRequest.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
-
-