Class UpdateProfileTemplateVersionOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.UpdateProfileTemplateVersionOptions.Builder
-
- Enclosing class:
- UpdateProfileTemplateVersionOptions
public static class UpdateProfileTemplateVersionOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String ifMatch, java.lang.String templateId, java.lang.String version)Instantiates a new builder with required properties.- Parameters:
ifMatch- the ifMatchtemplateId- the templateIdversion- the version
-
-
Method Detail
-
build
public UpdateProfileTemplateVersionOptions build()
Builds a UpdateProfileTemplateVersionOptions.- Returns:
- the new UpdateProfileTemplateVersionOptions instance
-
addPolicyTemplateReferences
public UpdateProfileTemplateVersionOptions.Builder addPolicyTemplateReferences(PolicyTemplateReference policyTemplateReferences)
Adds a new element to policyTemplateReferences.- Parameters:
policyTemplateReferences- the new element to be added- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
ifMatch
public UpdateProfileTemplateVersionOptions.Builder ifMatch(java.lang.String ifMatch)
Set the ifMatch.- Parameters:
ifMatch- the ifMatch- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
templateId
public UpdateProfileTemplateVersionOptions.Builder templateId(java.lang.String templateId)
Set the templateId.- Parameters:
templateId- the templateId- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
version
public UpdateProfileTemplateVersionOptions.Builder version(java.lang.String version)
Set the version.- Parameters:
version- the version- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
accountId
public UpdateProfileTemplateVersionOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId- the accountId- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
name
public UpdateProfileTemplateVersionOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
description
public UpdateProfileTemplateVersionOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
profile
public UpdateProfileTemplateVersionOptions.Builder profile(TemplateProfileComponentRequest profile)
Set the profile.- Parameters:
profile- the profile- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
policyTemplateReferences
public UpdateProfileTemplateVersionOptions.Builder policyTemplateReferences(java.util.List<PolicyTemplateReference> policyTemplateReferences)
Set the policyTemplateReferences. Existing policyTemplateReferences will be replaced.- Parameters:
policyTemplateReferences- the policyTemplateReferences- Returns:
- the UpdateProfileTemplateVersionOptions builder
-
-