Class UpdateApiKeyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.UpdateApiKeyOptions.Builder
-
- Enclosing class:
- UpdateApiKeyOptions
public static class UpdateApiKeyOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateApiKeyOptions.BuilderactionWhenLeaked(java.lang.String actionWhenLeaked)Set the actionWhenLeaked.UpdateApiKeyOptionsbuild()Builds a UpdateApiKeyOptions.UpdateApiKeyOptions.Builderdescription(java.lang.String description)Set the description.UpdateApiKeyOptions.Builderid(java.lang.String id)Set the id.UpdateApiKeyOptions.BuilderifMatch(java.lang.String ifMatch)Set the ifMatch.UpdateApiKeyOptions.Buildername(java.lang.String name)Set the name.UpdateApiKeyOptions.BuildersupportSessions(java.lang.Boolean supportSessions)Set the supportSessions.
-
-
-
Method Detail
-
build
public UpdateApiKeyOptions build()
Builds a UpdateApiKeyOptions.- Returns:
- the new UpdateApiKeyOptions instance
-
id
public UpdateApiKeyOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the UpdateApiKeyOptions builder
-
ifMatch
public UpdateApiKeyOptions.Builder ifMatch(java.lang.String ifMatch)
Set the ifMatch.- Parameters:
ifMatch- the ifMatch- Returns:
- the UpdateApiKeyOptions builder
-
name
public UpdateApiKeyOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the UpdateApiKeyOptions builder
-
description
public UpdateApiKeyOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the UpdateApiKeyOptions builder
-
supportSessions
public UpdateApiKeyOptions.Builder supportSessions(java.lang.Boolean supportSessions)
Set the supportSessions.- Parameters:
supportSessions- the supportSessions- Returns:
- the UpdateApiKeyOptions builder
-
actionWhenLeaked
public UpdateApiKeyOptions.Builder actionWhenLeaked(java.lang.String actionWhenLeaked)
Set the actionWhenLeaked.- Parameters:
actionWhenLeaked- the actionWhenLeaked- Returns:
- the UpdateApiKeyOptions builder
-
-