Class PrestoEnginePatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v3.model.PrestoEnginePatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PrestoEnginePatch extends com.ibm.cloud.sdk.core.service.model.GenericModelThe request payload to update presto engine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrestoEnginePatch.BuilderBuilder.
-
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.StringdisplayName()Gets the displayName.PrestoEnginePatch.BuildernewBuilder()New builder.RemoveEnginePropertiesremoveEngineProperties()Gets the removeEngineProperties.java.lang.StringrestartType()Gets the restartType.java.util.List<java.lang.String>tags()Gets the tags.EnginePropertiesxProperties()Gets the xProperties.
-
-
-
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
-
displayName
public java.lang.String displayName()
Gets the displayName. Engine display name.- Returns:
- the displayName
-
xProperties
public EngineProperties xProperties()
Gets the xProperties. Engine properties.- Returns:
- the xProperties
-
removeEngineProperties
public RemoveEngineProperties removeEngineProperties()
Gets the removeEngineProperties. The engine properties to be removed which was added through api customisation.- Returns:
- the removeEngineProperties
-
restartType
public java.lang.String restartType()
Gets the restartType. The type of engine restart . The value can be set to forcefully restart an engine.- Returns:
- the restartType
-
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
-
-