Class ServiceSoftwareOptions
- java.lang.Object
-
- software.amazon.awssdk.services.elasticsearch.model.ServiceSoftwareOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceSoftwareOptions.Builder,ServiceSoftwareOptions>
@Generated("software.amazon.awssdk:codegen") public final class ServiceSoftwareOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSoftwareOptions.Builder,ServiceSoftwareOptions>
The current options of an Elasticsearch domain service software options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceSoftwareOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantautomatedUpdateDate()Timestamp, in Epoch time, until which you can manually request a service software update.static ServiceSoftwareOptions.Builderbuilder()Booleancancellable()Trueif you are able to cancel your service software version update.StringcurrentVersion()The current service software version that is present on the domain.Stringdescription()The description of theUpdateStatus.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnewVersion()The new service software version if one is available.BooleanoptionalDeployment()Trueif a service software is never automatically updated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceSoftwareOptions.Builder>serializableBuilderClass()ServiceSoftwareOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanupdateAvailable()Trueif you are able to update you service software version.DeploymentStatusupdateStatus()The status of your service software update.StringupdateStatusAsString()The status of your service software update.-
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
-
currentVersion
public final String currentVersion()
The current service software version that is present on the domain.
- Returns:
- The current service software version that is present on the domain.
-
newVersion
public final String newVersion()
The new service software version if one is available.
- Returns:
- The new service software version if one is available.
-
updateAvailable
public final Boolean updateAvailable()
Trueif you are able to update you service software version.Falseif you are not able to update your service software version.- Returns:
- True if you are able to update you service software version.
False
-
cancellable
public final Boolean cancellable()
Trueif you are able to cancel your service software version update.Falseif you are not able to cancel your service software version.- Returns:
- True if you are able to cancel your service software version update.
False
-
updateStatus
public final DeploymentStatus updateStatus()
The status of your service software update. This field can take the following values:
ELIGIBLE,PENDING_UPDATE,IN_PROGRESS,COMPLETED, andNOT_ELIGIBLE.If the service returns an enum value that is not available in the current SDK version,
updateStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStatusAsString().- Returns:
- The status of your service software update. This field can take the following values:
ELIGIBLE,PENDING_UPDATE,IN_PROGRESS,COMPLETED, andNOT_ELIGIBLE. - See Also:
DeploymentStatus
-
updateStatusAsString
public final String updateStatusAsString()
The status of your service software update. This field can take the following values:
ELIGIBLE,PENDING_UPDATE,IN_PROGRESS,COMPLETED, andNOT_ELIGIBLE.If the service returns an enum value that is not available in the current SDK version,
updateStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStatusAsString().- Returns:
- The status of your service software update. This field can take the following values:
ELIGIBLE,PENDING_UPDATE,IN_PROGRESS,COMPLETED, andNOT_ELIGIBLE. - See Also:
DeploymentStatus
-
description
public final String description()
The description of the
UpdateStatus.- Returns:
- The description of the
UpdateStatus.
-
automatedUpdateDate
public final Instant automatedUpdateDate()
Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
- Returns:
- Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
-
optionalDeployment
public final Boolean optionalDeployment()
Trueif a service software is never automatically updated.Falseif a service software is automatically updated afterAutomatedUpdateDate.- Returns:
- True if a service software is never automatically updated.
Falseif a service software is automatically updated afterAutomatedUpdateDate
-
toBuilder
public ServiceSoftwareOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceSoftwareOptions.Builder,ServiceSoftwareOptions>
-
builder
public static ServiceSoftwareOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceSoftwareOptions.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
-
-