Class CreateAccountOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.enterprise_management.v1.model.CreateAccountOptions.Builder
-
- Enclosing class:
- CreateAccountOptions
public static class CreateAccountOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAccountOptionsbuild()Builds a CreateAccountOptions.CreateAccountOptions.Buildername(java.lang.String name)Set the name.CreateAccountOptions.Builderoptions(CreateAccountRequestOptions options)Set the options.CreateAccountOptions.BuilderownerIamId(java.lang.String ownerIamId)Set the ownerIamId.CreateAccountOptions.Builderparent(java.lang.String parent)Set the parent.CreateAccountOptions.Buildertraits(CreateAccountRequestTraits traits)Set the traits.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String parent, java.lang.String name, java.lang.String ownerIamId)Instantiates a new builder with required properties.- Parameters:
parent- the parentname- the nameownerIamId- the ownerIamId
-
-
Method Detail
-
build
public CreateAccountOptions build()
Builds a CreateAccountOptions.- Returns:
- the new CreateAccountOptions instance
-
parent
public CreateAccountOptions.Builder parent(java.lang.String parent)
Set the parent.- Parameters:
parent- the parent- Returns:
- the CreateAccountOptions builder
-
name
public CreateAccountOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateAccountOptions builder
-
ownerIamId
public CreateAccountOptions.Builder ownerIamId(java.lang.String ownerIamId)
Set the ownerIamId.- Parameters:
ownerIamId- the ownerIamId- Returns:
- the CreateAccountOptions builder
-
traits
public CreateAccountOptions.Builder traits(CreateAccountRequestTraits traits)
Set the traits.- Parameters:
traits- the traits- Returns:
- the CreateAccountOptions builder
-
options
public CreateAccountOptions.Builder options(CreateAccountRequestOptions options)
Set the options.- Parameters:
options- the options- Returns:
- the CreateAccountOptions builder
-
-