@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePackageRequest extends IotRequest implements ToCopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePackageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePackageRequest.Builder |
builder() |
String |
clientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
defaultVersionName()
The name of the default package version.
|
String |
description()
The package description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
packageName()
The name of the target software package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePackageRequest.Builder> |
serializableBuilderClass() |
UpdatePackageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
unsetDefaultVersion()
Indicates whether you want to remove the named default package version from the software package.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String packageName()
The name of the target software package.
public final String description()
The package description.
public final String defaultVersionName()
The name of the default package version.
Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to
true at the same time.
Note: You cannot name a defaultVersion and set unsetDefaultVersion equal
to true at the same time.
public final Boolean unsetDefaultVersion()
Indicates whether you want to remove the named default package version from the software package. Set as
true to remove the default package version.
Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to
true at the same time.
true to remove the default package version.
Note: You cannot name a defaultVersion and set unsetDefaultVersion equal
to true at the same time.
public final String clientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public UpdatePackageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>toBuilder in class IotRequestpublic 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 © 2023. All rights reserved.