| Modifier and Type | Method and Description |
|---|---|
T |
accessTokenValiditySeconds(Long accessTokenValiditySeconds)
Sets the
accessTokenValiditySeconds property of this builder. |
ApiClientDraftDsl |
build()
Creates a new instance of
ApiClientDraftDsl with the values of this builder. |
T |
deleteDaysAfterCreation(Integer deleteDaysAfterCreation)
Sets the
deleteDaysAfterCreation property of this builder. |
Long |
getAccessTokenValiditySeconds() |
Integer |
getDeleteDaysAfterCreation() |
String |
getName() |
Long |
getRefreshTokenValiditySeconds() |
String |
getScope() |
T |
name(String name)
Sets the
name property of this builder. |
static ApiClientDraftBuilder |
of(ApiClientDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ApiClientDraftBuilder |
of(String name,
String scope) |
static ApiClientDraftBuilder |
of(String name,
String projectKey,
List<SphereScope> scopes) |
static ApiClientDraftBuilder |
of(String name,
String projectKey,
SphereScope scope0,
SphereScope... scopes) |
T |
refreshTokenValiditySeconds(Long refreshTokenValiditySeconds)
Sets the
refreshTokenValiditySeconds property of this builder. |
T |
scope(String scope)
Sets the
scope property of this builder. |
public static ApiClientDraftBuilder of(String name, String projectKey, SphereScope scope0, SphereScope... scopes)
public static ApiClientDraftBuilder of(String name, String projectKey, List<SphereScope> scopes)
public static ApiClientDraftBuilder of(String name, String scope)
public T accessTokenValiditySeconds(@Nullable Long accessTokenValiditySeconds)
accessTokenValiditySeconds property of this builder.accessTokenValiditySeconds - the value for ApiClientDraft.getAccessTokenValiditySeconds()public T deleteDaysAfterCreation(@Nullable Integer deleteDaysAfterCreation)
deleteDaysAfterCreation property of this builder.deleteDaysAfterCreation - the value for ApiClientDraft.getDeleteDaysAfterCreation()public T name(String name)
name property of this builder.name - the value for ApiClientDraft.getName()public T refreshTokenValiditySeconds(@Nullable Long refreshTokenValiditySeconds)
refreshTokenValiditySeconds property of this builder.refreshTokenValiditySeconds - the value for ApiClientDraft.getRefreshTokenValiditySeconds()public T scope(String scope)
scope property of this builder.scope - the value for ApiClientDraft.getScope()public String getName()
public String getScope()
public ApiClientDraftDsl build()
ApiClientDraftDsl with the values of this builder.build in interface Builder<ApiClientDraftDsl>public static ApiClientDraftBuilder of(ApiClientDraft template)
template - the template