public static class CreateResourceInstanceOptions.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(String name,
String target,
String resourceGroup,
String resourcePlanId)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
CreateResourceInstanceOptions.Builder |
addTags(String tags)
Adds an tags to tags.
|
CreateResourceInstanceOptions.Builder |
allowCleanup(Boolean allowCleanup)
Set the allowCleanup.
|
CreateResourceInstanceOptions |
build()
Builds a CreateResourceInstanceOptions.
|
CreateResourceInstanceOptions.Builder |
entityLock(Boolean entityLock)
Set the entityLock.
|
CreateResourceInstanceOptions.Builder |
name(String name)
Set the name.
|
CreateResourceInstanceOptions.Builder |
parameters(Map<String,Object> parameters)
Set the parameters.
|
CreateResourceInstanceOptions.Builder |
resourceGroup(String resourceGroup)
Set the resourceGroup.
|
CreateResourceInstanceOptions.Builder |
resourcePlanId(String resourcePlanId)
Set the resourcePlanId.
|
CreateResourceInstanceOptions.Builder |
tags(List<String> tags)
Set the tags.
|
CreateResourceInstanceOptions.Builder |
target(String target)
Set the target.
|
public CreateResourceInstanceOptions build()
public CreateResourceInstanceOptions.Builder addTags(String tags)
tags - the new tagspublic CreateResourceInstanceOptions.Builder name(String name)
name - the namepublic CreateResourceInstanceOptions.Builder target(String target)
target - the targetpublic CreateResourceInstanceOptions.Builder resourceGroup(String resourceGroup)
resourceGroup - the resourceGrouppublic CreateResourceInstanceOptions.Builder resourcePlanId(String resourcePlanId)
resourcePlanId - the resourcePlanIdpublic CreateResourceInstanceOptions.Builder tags(List<String> tags)
tags - the tagspublic CreateResourceInstanceOptions.Builder allowCleanup(Boolean allowCleanup)
allowCleanup - the allowCleanuppublic CreateResourceInstanceOptions.Builder parameters(Map<String,Object> parameters)
parameters - the parameterspublic CreateResourceInstanceOptions.Builder entityLock(Boolean entityLock)
entityLock - the entityLockCopyright © 2021 IBM Cloud Platform Services. All rights reserved.