@Generated(value="software.amazon.awssdk:codegen") public final class CreatePackageRequest extends ElasticsearchRequest implements ToCopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
Container for request parameters to CreatePackage operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePackageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreatePackageRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
packageDescription()
Description of the package.
|
String |
packageName()
Unique identifier for the package.
|
PackageSource |
packageSource()
The customer S3 location
PackageSource for importing the package. |
PackageType |
packageType()
Type of package.
|
String |
packageTypeAsString()
Type of package.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePackageRequest.Builder> |
serializableBuilderClass() |
CreatePackageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String packageName()
Unique identifier for the package.
public final PackageType packageType()
Type of package. Currently supports only TXT-DICTIONARY.
If the service returns an enum value that is not available in the current SDK version, packageType will
return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageTypeAsString().
PackageTypepublic final String packageTypeAsString()
Type of package. Currently supports only TXT-DICTIONARY.
If the service returns an enum value that is not available in the current SDK version, packageType will
return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageTypeAsString().
PackageTypepublic final String packageDescription()
Description of the package.
public final PackageSource packageSource()
The customer S3 location PackageSource for importing the package.
PackageSource for importing the package.public CreatePackageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>toBuilder in class ElasticsearchRequestpublic static CreatePackageRequest.Builder builder()
public static Class<? extends CreatePackageRequest.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.