Class CreatePackageRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
Container for request parameters to the CreatePackage operation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CreatePackageRequest.Builderbuilder()final StringThe version of the Amazon OpenSearch Service engine for which is compatible with the package.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final PackageConfigurationThe configuration parameters for the package being created.final StringDescription of the package.final PackageEncryptionOptionsThe encryption parameters for the package being created.final StringUnique name for the package.final PackageSourceThe Amazon S3 location from which to import the package.final PackageTypeThe type of package.final StringThe type of package.final PackageVendingOptionsThe vending options for the package being created.static Class<? extends CreatePackageRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
packageName
Unique name for the package.
- Returns:
- Unique name for the package.
-
packageType
The type of package.
If the service returns an enum value that is not available in the current SDK version,
packageTypewill returnPackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompackageTypeAsString().- Returns:
- The type of package.
- See Also:
-
packageTypeAsString
The type of package.
If the service returns an enum value that is not available in the current SDK version,
packageTypewill returnPackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompackageTypeAsString().- Returns:
- The type of package.
- See Also:
-
packageDescription
Description of the package.
- Returns:
- Description of the package.
-
packageSource
The Amazon S3 location from which to import the package.
- Returns:
- The Amazon S3 location from which to import the package.
-
packageConfiguration
The configuration parameters for the package being created.
- Returns:
- The configuration parameters for the package being created.
-
engineVersion
The version of the Amazon OpenSearch Service engine for which is compatible with the package. This can only be specified for package type
ZIP-PLUGIN- Returns:
- The version of the Amazon OpenSearch Service engine for which is compatible with the package. This can
only be specified for package type
ZIP-PLUGIN
-
packageVendingOptions
The vending options for the package being created. They determine if the package can be vended to other users.
- Returns:
- The vending options for the package being created. They determine if the package can be vended to other users.
-
packageEncryptionOptions
The encryption parameters for the package being created.
- Returns:
- The encryption parameters for the package being created.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest> - Specified by:
toBuilderin classOpenSearchRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-