@Generated(value="software.amazon.awssdk:codegen") public class CopyProductRequest extends ServiceCatalogRequest implements ToCopyableBuilder<CopyProductRequest.Builder,CopyProductRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CopyProductRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
The language code.
|
static CopyProductRequest.Builder |
builder() |
List<CopyOption> |
copyOptions()
The copy options.
|
List<String> |
copyOptionsStrings()
The copy options.
|
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.
|
static Class<? extends CopyProductRequest.Builder> |
serializableBuilderClass() |
String |
sourceProductArn()
The Amazon Resource Name (ARN) of the source product.
|
List<Map<String,String>> |
sourceProvisioningArtifactIdentifiers()
The IDs of the product versions to copy.
|
String |
targetProductId()
The ID of the target product.
|
String |
targetProductName()
A name for the target product.
|
CopyProductRequest.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 sourceProductArn()
The Amazon Resource Name (ARN) of the source product.
public String targetProductId()
The ID of the target product. By default, a new product is created.
public String targetProductName()
A name for the target product. The default is the name of the source product.
public List<Map<String,String>> sourceProvisioningArtifactIdentifiers()
The IDs of the product versions to copy. By default, all provisioning artifacts are copied.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<CopyOption> copyOptions()
The copy options. If the value is CopyTags
, the tags from the source product are copied to the
target product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
CopyTags
, the tags from the source product are copied to
the target product.public List<String> copyOptionsStrings()
The copy options. If the value is CopyTags
, the tags from the source product are copied to the
target product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
CopyTags
, the tags from the source product are copied to
the target product.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 CopyProductRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CopyProductRequest.Builder,CopyProductRequest>
toBuilder
in class ServiceCatalogRequest
public static CopyProductRequest.Builder builder()
public static Class<? extends CopyProductRequest.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.