Class ServiceSoftwareOptions
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ServiceSoftwareOptions.Builder,
ServiceSoftwareOptions>
The current status of the service software for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Instant
The timestamp, in Epoch time, until which you can manually request a service software update.builder()
final Boolean
True if you're able to cancel your service software version update.final String
The current service software version present on the domain.final String
A description of the service software update status.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The new service software version, if one is available.final Boolean
True if a service software is never automatically updated.static Class
<? extends ServiceSoftwareOptions.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Boolean
True if you're able to update your service software version.final DeploymentStatus
The status of your service software update.final String
The status of your service software update.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
currentVersion
The current service software version present on the domain.
- Returns:
- The current service software version present on the domain.
-
newVersion
The new service software version, if one is available.
- Returns:
- The new service software version, if one is available.
-
updateAvailable
True if you're able to update your service software version. False if you can't update your service software version.
- Returns:
- True if you're able to update your service software version. False if you can't update your service software version.
-
cancellable
True if you're able to cancel your service software version update. False if you can't cancel your service software update.
- Returns:
- True if you're able to cancel your service software version update. False if you can't cancel your service software update.
-
updateStatus
The status of your service software update.
If the service returns an enum value that is not available in the current SDK version,
updateStatus
will returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromupdateStatusAsString()
.- Returns:
- The status of your service software update.
- See Also:
-
updateStatusAsString
The status of your service software update.
If the service returns an enum value that is not available in the current SDK version,
updateStatus
will returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromupdateStatusAsString()
.- Returns:
- The status of your service software update.
- See Also:
-
description
A description of the service software update status.
- Returns:
- A description of the service software update status.
-
automatedUpdateDate
The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
- Returns:
- The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
-
optionalDeployment
True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.
- Returns:
- True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ServiceSoftwareOptions.Builder,
ServiceSoftwareOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-