public class PolicyJsonMarshaller
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static PolicyJsonMarshaller |
instance |
Constructor and Description |
---|
PolicyJsonMarshaller() |
Modifier and Type | Method and Description |
---|---|
static PolicyJsonMarshaller |
getInstance() |
void |
marshall(Policy policy,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|
private static PolicyJsonMarshaller instance
public void marshall(Policy policy, StructuredJsonGenerator jsonGenerator)
public static PolicyJsonMarshaller getInstance()