Package com.oracle.bmc.datascience.model
Class UpdateComputeTargetDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.UpdateComputeTargetDetails.Builder
-
- Enclosing class:
- UpdateComputeTargetDetails
public static class UpdateComputeTargetDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateComputeTargetDetailsbuild()UpdateComputeTargetDetails.BuildercomputeConfigurationDetails(UpdateComputeConfigurationDetails computeConfigurationDetails)UpdateComputeTargetDetails.Buildercopy(UpdateComputeTargetDetails model)UpdateComputeTargetDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateComputeTargetDetails.Builderdescription(String description)A short description of the compute target.UpdateComputeTargetDetails.BuilderdisplayName(String displayName)A user-friendly display name for the resource.UpdateComputeTargetDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateComputeTargetDetails.Buildermetadata(Map<String,String> metadata)Metadata for the compute target.
-
-
-
Method Detail
-
displayName
public UpdateComputeTargetDetails.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public UpdateComputeTargetDetails.Builder description(String description)
A short description of the compute target.- Parameters:
description- the value to set- Returns:
- this builder
-
metadata
public UpdateComputeTargetDetails.Builder metadata(Map<String,String> metadata)
Metadata for the compute target.The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore () Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can’t be reserved Compute Target metadata.
- Parameters:
metadata- the value to set- Returns:
- this builder
-
computeConfigurationDetails
public UpdateComputeTargetDetails.Builder computeConfigurationDetails(UpdateComputeConfigurationDetails computeConfigurationDetails)
-
freeformTags
public UpdateComputeTargetDetails.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. See Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public UpdateComputeTargetDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public UpdateComputeTargetDetails build()
-
copy
public UpdateComputeTargetDetails.Builder copy(UpdateComputeTargetDetails model)
-
-