GenericResource.DefinitionStages.WithParentResource Interface

public static interface GenericResource.DefinitionStages.WithParentResource

A generic resource definition allowing parent resource to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withParentResourceId(String parentResourceId)

Specifies the parent resource.

abstract WithCreate withParentResourcePath(String parentResourcePath)

Specifies the parent resource relative path.

Method Details

withParentResourceId

public abstract GenericResource.DefinitionStages.WithCreate withParentResourceId(String parentResourceId)

Specifies the parent resource.

Parameters:

parentResourceId - the parent resource id

Returns:

the next stage of the definition

withParentResourcePath

public abstract GenericResource.DefinitionStages.WithCreate withParentResourcePath(String parentResourcePath)

Specifies the parent resource relative path.

Parameters:

parentResourcePath - the relative path of parent resource

Returns:

the next stage of the definition

Applies to