Class RepoInfo.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.RepoInfo.Builder
-
- Enclosing class:
- RepoInfo
public static class RepoInfo.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepoInfobuild()Builds a RepoInfo.RepoInfo.Buildertoken(java.lang.String token)Set the token.RepoInfo.Buildertype(java.lang.String type)Set the type.
-
-
-
Method Detail
-
build
public RepoInfo build()
Builds a RepoInfo.- Returns:
- the new RepoInfo instance
-
token
public RepoInfo.Builder token(java.lang.String token)
Set the token.- Parameters:
token- the token- Returns:
- the RepoInfo builder
-
type
public RepoInfo.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the RepoInfo builder
-
-