@Generated(value="software.amazon.awssdk:codegen") public final class CreatePackageRequest extends OpenSearchRequest implements ToCopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
Container for request parameters to the 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 name for the package.
|
PackageSource |
packageSource()
The Amazon S3 location from which to import 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 name for the package.
public final PackageType packageType()
Type of package.
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.
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 Amazon S3 location from which to import the package.
public CreatePackageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>toBuilder in class OpenSearchRequestpublic 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 © 2022. All rights reserved.