@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAddTags()
For responses, this returns true if the service returned a value for the AddTags property.
|
int |
hashCode() |
boolean |
hasRemoveTags()
For responses, this returns true if the service returned a value for the RemoveTags property.
|
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() |
SourceConnection |
sourceConnection()
Specifies connection details for the updated product and syncs the product to the connection source artifact.
|
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String acceptLanguage()
The language code.
jp - Japanese
zh - Chinese
jp - Japanese
zh - Chinese
public final String id()
The product identifier.
public final String name()
The updated product name.
public final String owner()
The updated owner of the product.
public final String description()
The updated description of the product.
public final String distributor()
The updated distributor of the product.
public final String supportDescription()
The updated support description for the product.
public final String supportEmail()
The updated support email for the product.
public final String supportUrl()
The updated support URL for the product.
public final boolean hasAddTags()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Tag> addTags()
The tags to add to the product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAddTags() method.
public final boolean hasRemoveTags()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> removeTags()
The tags to remove from the product.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRemoveTags() method.
public final SourceConnection sourceConnection()
Specifies connection details for the updated product and syncs the product to the connection source artifact.
This automatically manages the product's artifacts based on changes to the source. The
SourceConnection parameter consists of the following sub-fields.
Type
ConnectionParamters
SourceConnection parameter consists of the following sub-fields.
Type
ConnectionParamters
public UpdateProductRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateProductRequest.Builder,UpdateProductRequest>toBuilder in class ServiceCatalogRequestpublic static UpdateProductRequest.Builder builder()
public static Class<? extends UpdateProductRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.