Package com.oracle.bmc.apiplatform.model
Class CreateApiPlatformInstanceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.apiplatform.model.CreateApiPlatformInstanceDetails.Builder
-
- Enclosing class:
- CreateApiPlatformInstanceDetails
public static class CreateApiPlatformInstanceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateApiPlatformInstanceDetailsbuild()CreateApiPlatformInstanceDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to create the instance in.CreateApiPlatformInstanceDetails.Buildercopy(CreateApiPlatformInstanceDetails model)CreateApiPlatformInstanceDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateApiPlatformInstanceDetails.Builderdescription(String description)User-provided changeable and non-unique description of the instanceCreateApiPlatformInstanceDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateApiPlatformInstanceDetails.Buildername(String name)A regionally unique, non-changeable instance name provided by the user during creation
-
-
-
Method Detail
-
name
public CreateApiPlatformInstanceDetails.Builder name(String name)
A regionally unique, non-changeable instance name provided by the user during creation- Parameters:
name- the value to set- Returns:
- this builder
-
description
public CreateApiPlatformInstanceDetails.Builder description(String description)
User-provided changeable and non-unique description of the instance- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public CreateApiPlatformInstanceDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the instance in.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
freeformTags
public CreateApiPlatformInstanceDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateApiPlatformInstanceDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateApiPlatformInstanceDetails build()
-
copy
public CreateApiPlatformInstanceDetails.Builder copy(CreateApiPlatformInstanceDetails model)
-
-