Class CreateLinkOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.CreateLinkOptions.Builder
-
- Enclosing class:
- CreateLinkOptions
public static class CreateLinkOptions.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String profileId, java.lang.String crType, CreateProfileLinkRequestLink link)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLinkOptionsbuild()Builds a CreateLinkOptions.CreateLinkOptions.BuildercrType(java.lang.String crType)Set the crType.CreateLinkOptions.Builderlink(CreateProfileLinkRequestLink link)Set the link.CreateLinkOptions.Buildername(java.lang.String name)Set the name.CreateLinkOptions.BuilderprofileId(java.lang.String profileId)Set the profileId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String profileId, java.lang.String crType, CreateProfileLinkRequestLink link)Instantiates a new builder with required properties.- Parameters:
profileId- the profileIdcrType- the crTypelink- the link
-
-
Method Detail
-
build
public CreateLinkOptions build()
Builds a CreateLinkOptions.- Returns:
- the new CreateLinkOptions instance
-
profileId
public CreateLinkOptions.Builder profileId(java.lang.String profileId)
Set the profileId.- Parameters:
profileId- the profileId- Returns:
- the CreateLinkOptions builder
-
crType
public CreateLinkOptions.Builder crType(java.lang.String crType)
Set the crType.- Parameters:
crType- the crType- Returns:
- the CreateLinkOptions builder
-
link
public CreateLinkOptions.Builder link(CreateProfileLinkRequestLink link)
Set the link.- Parameters:
link- the link- Returns:
- the CreateLinkOptions builder
-
name
public CreateLinkOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateLinkOptions builder
-
-