Package com.oracle.bmc.datasafe.model
Class SubstringFormatEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SubstringFormatEntry.Builder
-
- Enclosing class:
- SubstringFormatEntry
public static class SubstringFormatEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstringFormatEntry
build()
SubstringFormatEntry.Builder
copy(SubstringFormatEntry model)
SubstringFormatEntry.Builder
description(String description)
SubstringFormatEntry.Builder
length(Integer length)
The number of characters that should be there in the substring.SubstringFormatEntry.Builder
startPosition(Integer startPosition)
The starting position in the original string from where the substring should be extracted.
-
-
-
Method Detail
-
description
public SubstringFormatEntry.Builder description(String description)
-
startPosition
public SubstringFormatEntry.Builder startPosition(Integer startPosition)
The starting position in the original string from where the substring should be extracted.It can be either a positive or a negative integer. If It’s negative, the counting starts from the end of the string.
- Parameters:
startPosition
- the value to set- Returns:
- this builder
-
length
public SubstringFormatEntry.Builder length(Integer length)
The number of characters that should be there in the substring.It should be an integer and greater than zero.
- Parameters:
length
- the value to set- Returns:
- this builder
-
build
public SubstringFormatEntry build()
-
copy
public SubstringFormatEntry.Builder copy(SubstringFormatEntry model)
-
-