### YamlMime:JavaType uid: "com.azure.resourcemanager.devtestlabs.models.LabCost.DefinitionStages.WithTargetCost" fullName: "com.azure.resourcemanager.devtestlabs.models.LabCost.DefinitionStages.WithTargetCost" name: "LabCost.DefinitionStages.WithTargetCost" nameWithType: "LabCost.DefinitionStages.WithTargetCost" summary: "The stage of the LabCost definition allowing to specify targetCost." syntax: "public static interface **LabCost.DefinitionStages.WithTargetCost**" methods: - uid: "com.azure.resourcemanager.devtestlabs.models.LabCost.DefinitionStages.WithTargetCost.withTargetCost(com.azure.resourcemanager.devtestlabs.models.TargetCostProperties)" fullName: "com.azure.resourcemanager.devtestlabs.models.LabCost.DefinitionStages.WithTargetCost.withTargetCost(TargetCostProperties targetCost)" name: "withTargetCost(TargetCostProperties targetCost)" nameWithType: "LabCost.DefinitionStages.WithTargetCost.withTargetCost(TargetCostProperties targetCost)" summary: "Specifies the targetCost property: The target cost properties." modifiers: - "abstract" parameters: - description: "The target cost properties." name: "targetCost" type: "" syntax: "public abstract LabCost.DefinitionStages.WithCreate withTargetCost(TargetCostProperties targetCost)" desc: "Specifies the targetCost property: The target cost properties." returns: description: "the next definition stage." type: "" type: "interface" desc: "The stage of the LabCost definition allowing to specify targetCost." metadata: {} package: "com.azure.resourcemanager.devtestlabs.models" artifact: com.azure.resourcemanager:azure-resourcemanager-devtestlabs:1.0.0