/** * <p> * The programmatic code for the state change reason. * </p> * * @param code * The programmatic code for the state change reason. * @return Returns a reference to this object so that method calls can be chained together. * @see ClusterStateChangeReasonCode */ public ClusterStateChangeReason withCode(String code) { setCode(code); return this; }
if (context.testExpression("Code", targetDepth)) { context.nextToken(); clusterStateChangeReason.setCode(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The programmatic code for the state change reason. * </p> * * @param code * The programmatic code for the state change reason. * @return Returns a reference to this object so that method calls can be chained together. * @see ClusterStateChangeReasonCode */ public ClusterStateChangeReason withCode(String code) { setCode(code); return this; }
if (context.testExpression("Code", targetDepth)) { context.nextToken(); clusterStateChangeReason.setCode(context.getUnmarshaller(String.class).unmarshall(context));