@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePackageRequest extends ElasticsearchRequest implements ToCopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>
Container for request parameters to UpdatePackage operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePackageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePackageRequest.Builder |
builder() |
String |
commitMessage()
An info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
packageDescription()
New description of the package.
|
String |
packageID()
Unique identifier for the package.
|
PackageSource |
packageSource()
Returns the value of the PackageSource property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePackageRequest.Builder> |
serializableBuilderClass() |
UpdatePackageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String packageID()
Unique identifier for the package.
public final PackageSource packageSource()
public final String packageDescription()
New description of the package.
public final String commitMessage()
An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse.
GetPackageVersionHistoryResponse.public UpdatePackageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>toBuilder in class ElasticsearchRequestpublic static UpdatePackageRequest.Builder builder()
public static Class<? extends UpdatePackageRequest.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 © 2022. All rights reserved.