@Generated(value="software.amazon.awssdk:codegen") public 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 text 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 token to disambiguate duplicate requests.
|
String |
name()
The name of the product.
|
String |
owner()
The owner of the product.
|
ProductType |
productType()
The type of the product to create.
|
String |
productTypeAsString()
The type of the product to create.
|
ProvisioningArtifactProperties |
provisioningArtifactParameters()
Parameters for the provisioning artifact.
|
static Class<? extends CreateProductRequest.Builder> |
serializableBuilderClass() |
String |
supportDescription()
Support information about the product.
|
String |
supportEmail()
Contact email for product support.
|
String |
supportUrl()
Contact URL for product support.
|
List<Tag> |
tags()
Tags to associate with the new product.
|
CreateProductRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
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 text description of the product.
public String distributor()
The distributor of the product.
public String supportDescription()
Support information about the product.
public String supportEmail()
Contact email for product support.
public String supportUrl()
Contact URL for product support.
public ProductType productType()
The type of the product to create.
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 the product to create.
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()
Tags to associate with the new product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ProvisioningArtifactProperties provisioningArtifactParameters()
Parameters for the provisioning artifact.
public String idempotencyToken()
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each 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.