@Generated(value="software.amazon.awssdk:codegen") public final class UpdateProductRequest extends ServiceCatalogRequest implements ToCopyableBuilder<UpdateProductRequest.Builder,UpdateProductRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateProductRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
The language code.
|
List<Tag> |
addTags()
The tags to add to the product.
|
static UpdateProductRequest.Builder |
builder() |
String |
description()
The updated description of the product.
|
String |
distributor()
The updated 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 |
id()
The product identifier.
|
String |
name()
The updated product name.
|
String |
owner()
The updated owner of the product.
|
List<String> |
removeTags()
The tags to remove from the product.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateProductRequest.Builder> |
serializableBuilderClass() |
String |
supportDescription()
The updated support description for the product.
|
String |
supportEmail()
The updated support email for the product.
|
String |
supportUrl()
The updated support URL for the product.
|
UpdateProductRequest.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 id()
The product identifier.
public String name()
The updated product name.
public String owner()
The updated owner of the product.
public String description()
The updated description of the product.
public String distributor()
The updated distributor of the product.
public String supportDescription()
The updated support description for the product.
public String supportEmail()
The updated support email for the product.
public String supportUrl()
The updated support URL for the product.
public List<Tag> addTags()
The tags to add to the product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> removeTags()
The tags to remove from the product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UpdateProductRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateProductRequest.Builder,UpdateProductRequest>
toBuilder
in class ServiceCatalogRequest
public static UpdateProductRequest.Builder builder()
public static Class<? extends UpdateProductRequest.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.