Class Position.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.rulesets.v1.model.Position.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Position.Builderafter(String after)Set the after.Position.Builderbefore(String before)Set the before.Positionbuild()Builds a Position.Position.Builderindex(long index)Set the index.
-
-
-
Method Detail
-
build
public Position build()
Builds a Position.- Returns:
- the new Position instance
-
before
public Position.Builder before(String before)
Set the before.- Parameters:
before- the before- Returns:
- the Position builder
-
after
public Position.Builder after(String after)
Set the after.- Parameters:
after- the after- Returns:
- the Position builder
-
index
public Position.Builder index(long index)
Set the index.- Parameters:
index- the index- Returns:
- the Position builder
-
-