Class GetPreferencesOnScopeAccountOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.GetPreferencesOnScopeAccountOptions.Builder
-
- Enclosing class:
- GetPreferencesOnScopeAccountOptions
public static class GetPreferencesOnScopeAccountOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPreferencesOnScopeAccountOptions.BuilderaccountId(java.lang.String accountId)Set the accountId.GetPreferencesOnScopeAccountOptionsbuild()Builds a GetPreferencesOnScopeAccountOptions.GetPreferencesOnScopeAccountOptions.BuilderiamId(java.lang.String iamId)Set the iamId.GetPreferencesOnScopeAccountOptions.BuilderpreferenceId(java.lang.String preferenceId)Set the preferenceId.GetPreferencesOnScopeAccountOptions.Builderservice(java.lang.String service)Set the service.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String accountId, java.lang.String iamId, java.lang.String service, java.lang.String preferenceId)Instantiates a new builder with required properties.- Parameters:
accountId- the accountIdiamId- the iamIdservice- the servicepreferenceId- the preferenceId
-
-
Method Detail
-
build
public GetPreferencesOnScopeAccountOptions build()
Builds a GetPreferencesOnScopeAccountOptions.- Returns:
- the new GetPreferencesOnScopeAccountOptions instance
-
accountId
public GetPreferencesOnScopeAccountOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId- the accountId- Returns:
- the GetPreferencesOnScopeAccountOptions builder
-
iamId
public GetPreferencesOnScopeAccountOptions.Builder iamId(java.lang.String iamId)
Set the iamId.- Parameters:
iamId- the iamId- Returns:
- the GetPreferencesOnScopeAccountOptions builder
-
service
public GetPreferencesOnScopeAccountOptions.Builder service(java.lang.String service)
Set the service.- Parameters:
service- the service- Returns:
- the GetPreferencesOnScopeAccountOptions builder
-
preferenceId
public GetPreferencesOnScopeAccountOptions.Builder preferenceId(java.lang.String preferenceId)
Set the preferenceId.- Parameters:
preferenceId- the preferenceId- Returns:
- the GetPreferencesOnScopeAccountOptions builder
-
-