Class CreateApiKeyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.CreateApiKeyOptions.Builder
-
- Enclosing class:
- CreateApiKeyOptions
public static class CreateApiKeyOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateApiKeyOptions.BuilderaccountId(java.lang.String accountId)Set the accountId.CreateApiKeyOptions.BuilderactionWhenLeaked(java.lang.String actionWhenLeaked)Set the actionWhenLeaked.CreateApiKeyOptions.Builderapikey(java.lang.String apikey)Set the apikey.CreateApiKeyOptionsbuild()Builds a CreateApiKeyOptions.CreateApiKeyOptions.Builderdescription(java.lang.String description)Set the description.CreateApiKeyOptions.BuilderentityDisable(java.lang.String entityDisable)Set the entityDisable.CreateApiKeyOptions.BuilderentityLock(java.lang.String entityLock)Set the entityLock.CreateApiKeyOptions.BuilderiamId(java.lang.String iamId)Set the iamId.CreateApiKeyOptions.Buildername(java.lang.String name)Set the name.CreateApiKeyOptions.BuilderstoreValue(java.lang.Boolean storeValue)Set the storeValue.CreateApiKeyOptions.BuildersupportSessions(java.lang.Boolean supportSessions)Set the supportSessions.
-
-
-
Method Detail
-
build
public CreateApiKeyOptions build()
Builds a CreateApiKeyOptions.- Returns:
- the new CreateApiKeyOptions instance
-
name
public CreateApiKeyOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the CreateApiKeyOptions builder
-
iamId
public CreateApiKeyOptions.Builder iamId(java.lang.String iamId)
Set the iamId.- Parameters:
iamId- the iamId- Returns:
- the CreateApiKeyOptions builder
-
description
public CreateApiKeyOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the CreateApiKeyOptions builder
-
accountId
public CreateApiKeyOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId- the accountId- Returns:
- the CreateApiKeyOptions builder
-
apikey
public CreateApiKeyOptions.Builder apikey(java.lang.String apikey)
Set the apikey.- Parameters:
apikey- the apikey- Returns:
- the CreateApiKeyOptions builder
-
storeValue
public CreateApiKeyOptions.Builder storeValue(java.lang.Boolean storeValue)
Set the storeValue.- Parameters:
storeValue- the storeValue- Returns:
- the CreateApiKeyOptions builder
-
supportSessions
public CreateApiKeyOptions.Builder supportSessions(java.lang.Boolean supportSessions)
Set the supportSessions.- Parameters:
supportSessions- the supportSessions- Returns:
- the CreateApiKeyOptions builder
-
actionWhenLeaked
public CreateApiKeyOptions.Builder actionWhenLeaked(java.lang.String actionWhenLeaked)
Set the actionWhenLeaked.- Parameters:
actionWhenLeaked- the actionWhenLeaked- Returns:
- the CreateApiKeyOptions builder
-
entityLock
public CreateApiKeyOptions.Builder entityLock(java.lang.String entityLock)
Set the entityLock.- Parameters:
entityLock- the entityLock- Returns:
- the CreateApiKeyOptions builder
-
entityDisable
public CreateApiKeyOptions.Builder entityDisable(java.lang.String entityDisable)
Set the entityDisable.- Parameters:
entityDisable- the entityDisable- Returns:
- the CreateApiKeyOptions builder
-
-