PolicyDefinition.DefinitionStages.WithParameters Interface

public static interface PolicyDefinition.DefinitionStages.WithParameters

A policy definition allowing parameters to be set.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withParameter(String name, ParameterDefinitionsValue definition)

Specifies the parameters of the policy.

abstract WithCreate withParameter(String name, ParameterType parameterType, Object defaultValue)

Specifies the parameters of the policy.

Method Details

withParameter

public abstract PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterDefinitionsValue definition)

Specifies the parameters of the policy.

Parameters:

name - the name of the parameter
definition - the definition of the parameter

Returns:

the next stage of policy definition

withParameter

public abstract PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterType parameterType, Object defaultValue)

Specifies the parameters of the policy.

Parameters:

name - the name of the parameter
parameterType - the type of the parameter
defaultValue - the default value of the parameter

Returns:

the next stage of policy definition

Applies to