Class CreateTrustedProfileAssignmentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.CreateTrustedProfileAssignmentOptions.Builder
-
- Enclosing class:
- CreateTrustedProfileAssignmentOptions
public static class CreateTrustedProfileAssignmentOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTrustedProfileAssignmentOptionsbuild()Builds a CreateTrustedProfileAssignmentOptions.CreateTrustedProfileAssignmentOptions.Buildertarget(java.lang.String target)Set the target.CreateTrustedProfileAssignmentOptions.BuildertargetType(java.lang.String targetType)Set the targetType.CreateTrustedProfileAssignmentOptions.BuildertemplateId(java.lang.String templateId)Set the templateId.CreateTrustedProfileAssignmentOptions.BuildertemplateVersion(long templateVersion)Set the templateVersion.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String templateId, java.lang.Long templateVersion, java.lang.String targetType, java.lang.String target)Instantiates a new builder with required properties.- Parameters:
templateId- the templateIdtemplateVersion- the templateVersiontargetType- the targetTypetarget- the target
-
-
Method Detail
-
build
public CreateTrustedProfileAssignmentOptions build()
Builds a CreateTrustedProfileAssignmentOptions.- Returns:
- the new CreateTrustedProfileAssignmentOptions instance
-
templateId
public CreateTrustedProfileAssignmentOptions.Builder templateId(java.lang.String templateId)
Set the templateId.- Parameters:
templateId- the templateId- Returns:
- the CreateTrustedProfileAssignmentOptions builder
-
templateVersion
public CreateTrustedProfileAssignmentOptions.Builder templateVersion(long templateVersion)
Set the templateVersion.- Parameters:
templateVersion- the templateVersion- Returns:
- the CreateTrustedProfileAssignmentOptions builder
-
targetType
public CreateTrustedProfileAssignmentOptions.Builder targetType(java.lang.String targetType)
Set the targetType.- Parameters:
targetType- the targetType- Returns:
- the CreateTrustedProfileAssignmentOptions builder
-
target
public CreateTrustedProfileAssignmentOptions.Builder target(java.lang.String target)
Set the target.- Parameters:
target- the target- Returns:
- the CreateTrustedProfileAssignmentOptions builder
-
-