public interface PolicyCreateBuilder extends Buildable.Builder<PolicyCreateBuilder,PolicyCreate>
PolicyCreate
objectsModifier and Type | Method and Description |
---|---|
PolicyCreateBuilder |
adjustment(Map<String,String> adjustment)
Add the adjustment of the policy.
|
PolicyCreateBuilder |
adjustmentType(String adjustmentType)
Add the type of the adjustment for the policy.
|
PolicyCreateBuilder |
event(String event)
Add the event of the properties for the policy.
|
PolicyCreateBuilder |
minStep(int minStep)
Add the value of the min_step for policy.
|
PolicyCreateBuilder |
name(String name)
Add the name for the policy.
|
PolicyCreateBuilder |
number(int number)
Add the number of the policy.
|
PolicyCreateBuilder |
properties(Map<String,Object> properties)
Add the properties of the spec.
|
PolicyCreateBuilder |
spec(Map<String,Object> spec)
Add a detailed specification based on the policy type.
|
PolicyCreateBuilder |
specType(String specType)
Add the type of the spec for the policy.
|
PolicyCreateBuilder |
version(String version)
Add the version of the spec for the policy.
|
build, from
PolicyCreateBuilder name(String name)
name
- The name for the policy.PolicyCreateBuilder spec(Map<String,Object> spec)
spec
- A detailed specification based on the policy type.PolicyCreateBuilder properties(Map<String,Object> properties)
properties
- The properties of the spec.PolicyCreateBuilder adjustment(Map<String,String> adjustment)
adjustment
- The adjustment of the policy.PolicyCreateBuilder minStep(int minStep)
minStep
- The value of the min_step for policy.PolicyCreateBuilder number(int number)
number
- The number of the policy.PolicyCreateBuilder adjustmentType(String adjustmentType)
adjustmentType
- The type of the adjustment for the policy.PolicyCreateBuilder event(String event)
event
- The event of the properties for the policy.PolicyCreateBuilder specType(String specType)
specType
- The type of the spec for the policy.PolicyCreateBuilder version(String version)
version
- The version of the spec for the policy.Copyright © 2017. All rights reserved.