Package com.ibm.cloud.is.vpc.v1.model
Class FailoverShareOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.FailoverShareOptions.Builder
-
- Enclosing class:
- FailoverShareOptions
public static class FailoverShareOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailoverShareOptions
build()
Builds a FailoverShareOptions.FailoverShareOptions.Builder
fallbackPolicy(String fallbackPolicy)
Set the fallbackPolicy.FailoverShareOptions.Builder
shareId(String shareId)
Set the shareId.FailoverShareOptions.Builder
timeout(long timeout)
Set the timeout.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String shareId)
Instantiates a new builder with required properties.- Parameters:
shareId
- the shareId
-
-
Method Detail
-
build
public FailoverShareOptions build()
Builds a FailoverShareOptions.- Returns:
- the new FailoverShareOptions instance
-
shareId
public FailoverShareOptions.Builder shareId(String shareId)
Set the shareId.- Parameters:
shareId
- the shareId- Returns:
- the FailoverShareOptions builder
-
fallbackPolicy
public FailoverShareOptions.Builder fallbackPolicy(String fallbackPolicy)
Set the fallbackPolicy.- Parameters:
fallbackPolicy
- the fallbackPolicy- Returns:
- the FailoverShareOptions builder
-
timeout
public FailoverShareOptions.Builder timeout(long timeout)
Set the timeout.- Parameters:
timeout
- the timeout- Returns:
- the FailoverShareOptions builder
-
-