Package com.oracle.bmc.dif.model
Class CreateStackDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.dif.model.CreateStackDetails.Builder
-
- Enclosing class:
- CreateStackDetails
public static class CreateStackDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateStackDetails.Builderadb(List<AdbDetail> adb)ADB details if adb is included in the services.CreateStackDetailsbuild()CreateStackDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to create the Stack in.CreateStackDetails.Buildercopy(CreateStackDetails model)CreateStackDetails.Builderdataflow(List<DataflowDetail> dataflow)DATAFLOW details if dataflow is included in the services.CreateStackDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateStackDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateStackDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateStackDetails.Buildergenai(List<GenAiDetail> genai)GenAi Details if genai is included in services.CreateStackDetails.Builderggcs(List<GgcsDetail> ggcs)GGCS details if ggcs is included in the services.CreateStackDetails.BuildernotificationEmail(String notificationEmail)email id to which the stack notifications would be sent.CreateStackDetails.Builderobjectstorage(List<ObjectStorageDetail> objectstorage)Object Storage Details if object storage is included in services.CreateStackDetails.Builderservices(List<Service> services)List of services to be onboarded for the stack.CreateStackDetails.BuilderstackTemplates(List<StackTemplate> stackTemplates)List of templates to be onboarded for the stack.
-
-
-
Method Detail
-
displayName
public CreateStackDetails.Builder displayName(String displayName)
A user-friendly name.Should be unique per compartment. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public CreateStackDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the Stack in.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
notificationEmail
public CreateStackDetails.Builder notificationEmail(String notificationEmail)
email id to which the stack notifications would be sent.- Parameters:
notificationEmail- the value to set- Returns:
- this builder
-
stackTemplates
public CreateStackDetails.Builder stackTemplates(List<StackTemplate> stackTemplates)
List of templates to be onboarded for the stack.- Parameters:
stackTemplates- the value to set- Returns:
- this builder
-
services
public CreateStackDetails.Builder services(List<Service> services)
List of services to be onboarded for the stack.- Parameters:
services- the value to set- Returns:
- this builder
-
adb
public CreateStackDetails.Builder adb(List<AdbDetail> adb)
ADB details if adb is included in the services.- Parameters:
adb- the value to set- Returns:
- this builder
-
ggcs
public CreateStackDetails.Builder ggcs(List<GgcsDetail> ggcs)
GGCS details if ggcs is included in the services.- Parameters:
ggcs- the value to set- Returns:
- this builder
-
dataflow
public CreateStackDetails.Builder dataflow(List<DataflowDetail> dataflow)
DATAFLOW details if dataflow is included in the services.- Parameters:
dataflow- the value to set- Returns:
- this builder
-
objectstorage
public CreateStackDetails.Builder objectstorage(List<ObjectStorageDetail> objectstorage)
Object Storage Details if object storage is included in services.- Parameters:
objectstorage- the value to set- Returns:
- this builder
-
genai
public CreateStackDetails.Builder genai(List<GenAiDetail> genai)
GenAi Details if genai is included in services.- Parameters:
genai- the value to set- Returns:
- this builder
-
freeformTags
public CreateStackDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateStackDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateStackDetails build()
-
copy
public CreateStackDetails.Builder copy(CreateStackDetails model)
-
-