@Generated(value="software.amazon.awssdk:codegen") public final class CreateProductRequest extends ServiceCatalogRequest implements ToCopyableBuilder<CreateProductRequest.Builder,CreateProductRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateProductRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
The language code.
|
static CreateProductRequest.Builder |
builder() |
String |
description()
The description of the product.
|
String |
distributor()
The distributor of the product.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
idempotencyToken()
A unique identifier that you provide to ensure idempotency.
|
String |
name()
The name of the product.
|
String |
owner()
The owner of the product.
|
ProductType |
productType()
The type of product.
|
String |
productTypeAsString()
The type of product.
|
ProvisioningArtifactProperties |
provisioningArtifactParameters()
The configuration of the provisioning artifact.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateProductRequest.Builder> |
serializableBuilderClass() |
String |
supportDescription()
The support information about the product.
|
String |
supportEmail()
The contact email for product support.
|
String |
supportUrl()
The contact URL for product support.
|
List<Tag> |
tags()
One or more tags.
|
CreateProductRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String acceptLanguage()
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
en
- English (default)
jp
- Japanese
zh
- Chinese
public String name()
The name of the product.
public String owner()
The owner of the product.
public String description()
The description of the product.
public String distributor()
The distributor of the product.
public String supportDescription()
The support information about the product.
public String supportEmail()
The contact email for product support.
public String supportUrl()
The contact URL for product support.
public ProductType productType()
The type of product.
If the service returns an enum value that is not available in the current SDK version, productType
will
return ProductType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
productTypeAsString()
.
ProductType
public String productTypeAsString()
The type of product.
If the service returns an enum value that is not available in the current SDK version, productType
will
return ProductType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
productTypeAsString()
.
ProductType
public List<Tag> tags()
One or more tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ProvisioningArtifactProperties provisioningArtifactParameters()
The configuration of the provisioning artifact.
public String idempotencyToken()
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
public CreateProductRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateProductRequest.Builder,CreateProductRequest>
toBuilder
in class ServiceCatalogRequest
public static CreateProductRequest.Builder builder()
public static Class<? extends CreateProductRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.