Class PackageConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.PackageConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PackageConfiguration.Builder,PackageConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class PackageConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PackageConfiguration.Builder,PackageConfiguration>
The configuration parameters for a package.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePackageConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PackageConfiguration.Builderbuilder()RequirementLevelconfigurationRequirement()The configuration requirements for the package.StringconfigurationRequirementAsString()The configuration requirements for the package.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlicenseFilepath()The relative file path for the license associated with the package.RequirementLevellicenseRequirement()The license requirements for the package.StringlicenseRequirementAsString()The license requirements for the package.BooleanrequiresRestartForConfigurationUpdate()This indicates whether a B/G deployment is required for updating the configuration that the plugin is prerequisite for.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PackageConfiguration.Builder>serializableBuilderClass()PackageConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
licenseRequirement
public final RequirementLevel licenseRequirement()
The license requirements for the package.
If the service returns an enum value that is not available in the current SDK version,
licenseRequirementwill returnRequirementLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseRequirementAsString().- Returns:
- The license requirements for the package.
- See Also:
RequirementLevel
-
licenseRequirementAsString
public final String licenseRequirementAsString()
The license requirements for the package.
If the service returns an enum value that is not available in the current SDK version,
licenseRequirementwill returnRequirementLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseRequirementAsString().- Returns:
- The license requirements for the package.
- See Also:
RequirementLevel
-
licenseFilepath
public final String licenseFilepath()
The relative file path for the license associated with the package.
- Returns:
- The relative file path for the license associated with the package.
-
configurationRequirement
public final RequirementLevel configurationRequirement()
The configuration requirements for the package.
If the service returns an enum value that is not available in the current SDK version,
configurationRequirementwill returnRequirementLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationRequirementAsString().- Returns:
- The configuration requirements for the package.
- See Also:
RequirementLevel
-
configurationRequirementAsString
public final String configurationRequirementAsString()
The configuration requirements for the package.
If the service returns an enum value that is not available in the current SDK version,
configurationRequirementwill returnRequirementLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationRequirementAsString().- Returns:
- The configuration requirements for the package.
- See Also:
RequirementLevel
-
requiresRestartForConfigurationUpdate
public final Boolean requiresRestartForConfigurationUpdate()
This indicates whether a B/G deployment is required for updating the configuration that the plugin is prerequisite for.
- Returns:
- This indicates whether a B/G deployment is required for updating the configuration that the plugin is prerequisite for.
-
toBuilder
public PackageConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PackageConfiguration.Builder,PackageConfiguration>
-
builder
public static PackageConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PackageConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-