Class PrestoEnginePatch.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.PrestoEnginePatch.Builder
-
- Enclosing class:
- PrestoEnginePatch
public static class PrestoEnginePatch.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrestoEnginePatch.Builder
addTags(java.lang.String tags)
Adds a new element to tags.PrestoEnginePatch
build()
Builds a PrestoEnginePatch.PrestoEnginePatch.Builder
description(java.lang.String description)
Set the description.PrestoEnginePatch.Builder
engineDisplayName(java.lang.String engineDisplayName)
Set the engineDisplayName.PrestoEnginePatch.Builder
engineProperties(PrestoEngineEngineProperties engineProperties)
Set the engineProperties.PrestoEnginePatch.Builder
engineRestart(java.lang.String engineRestart)
Set the engineRestart.PrestoEnginePatch.Builder
removeEngineProperties(PrestoEnginePatchRemoveEngineProperties removeEngineProperties)
Set the removeEngineProperties.PrestoEnginePatch.Builder
tags(java.util.List<java.lang.String> tags)
Set the tags.
-
-
-
Method Detail
-
build
public PrestoEnginePatch build()
Builds a PrestoEnginePatch.- Returns:
- the new PrestoEnginePatch instance
-
addTags
public PrestoEnginePatch.Builder addTags(java.lang.String tags)
Adds a new element to tags.- Parameters:
tags
- the new element to be added- Returns:
- the PrestoEnginePatch builder
-
description
public PrestoEnginePatch.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the PrestoEnginePatch builder
-
engineDisplayName
public PrestoEnginePatch.Builder engineDisplayName(java.lang.String engineDisplayName)
Set the engineDisplayName.- Parameters:
engineDisplayName
- the engineDisplayName- Returns:
- the PrestoEnginePatch builder
-
engineProperties
public PrestoEnginePatch.Builder engineProperties(PrestoEngineEngineProperties engineProperties)
Set the engineProperties.- Parameters:
engineProperties
- the engineProperties- Returns:
- the PrestoEnginePatch builder
-
engineRestart
public PrestoEnginePatch.Builder engineRestart(java.lang.String engineRestart)
Set the engineRestart.- Parameters:
engineRestart
- the engineRestart- Returns:
- the PrestoEnginePatch builder
-
removeEngineProperties
public PrestoEnginePatch.Builder removeEngineProperties(PrestoEnginePatchRemoveEngineProperties removeEngineProperties)
Set the removeEngineProperties.- Parameters:
removeEngineProperties
- the removeEngineProperties- Returns:
- the PrestoEnginePatch builder
-
tags
public PrestoEnginePatch.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags
- the tags- Returns:
- the PrestoEnginePatch builder
-
-