Class PrestoEnginePatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.PrestoEnginePatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PrestoEnginePatch extends com.ibm.cloud.sdk.core.service.model.GenericModelUpdateEngine body.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrestoEnginePatch.BuilderBuilder.static interfacePrestoEnginePatch.EngineRestartTriggers engine restart if value is force.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>asPatch()Construct a JSON merge-patch from the PrestoEnginePatch.java.lang.Stringdescription()Gets the description.java.lang.StringengineDisplayName()Gets the engineDisplayName.PrestoEngineEnginePropertiesengineProperties()Gets the engineProperties.java.lang.StringengineRestart()Gets the engineRestart.PrestoEnginePatch.BuildernewBuilder()New builder.PrestoEnginePatchRemoveEnginePropertiesremoveEngineProperties()Gets the removeEngineProperties.java.util.List<java.lang.String>tags()Gets the tags.
-
-
-
Method Detail
-
newBuilder
public PrestoEnginePatch.Builder newBuilder()
New builder.- Returns:
- a PrestoEnginePatch builder
-
description
public java.lang.String description()
Gets the description. Modified description.- Returns:
- the description
-
engineDisplayName
public java.lang.String engineDisplayName()
Gets the engineDisplayName. Engine display name.- Returns:
- the engineDisplayName
-
engineProperties
public PrestoEngineEngineProperties engineProperties()
Gets the engineProperties. Engine properties.- Returns:
- the engineProperties
-
engineRestart
public java.lang.String engineRestart()
Gets the engineRestart. Triggers engine restart if value is force.- Returns:
- the engineRestart
-
removeEngineProperties
public PrestoEnginePatchRemoveEngineProperties removeEngineProperties()
Gets the removeEngineProperties. RemoveEngine properties.- Returns:
- the removeEngineProperties
-
tags
public java.util.List<java.lang.String> tags()
Gets the tags. Tags.- Returns:
- the tags
-
asPatch
public java.util.Map<java.lang.String,java.lang.Object> asPatch()
Construct a JSON merge-patch from the PrestoEnginePatch. Note that properties of the PrestoEnginePatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the PrestoEnginePatch
-
-