/** * <p> * The type of information to retrieve. * </p> * * @param infoType * The type of information to retrieve. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentInfoType */ public RetrieveEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType) { this.infoType = infoType.toString(); return this; }
/** * <p> * The type of information to request. * </p> * * @param infoType * The type of information to request. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentInfoType */ public RequestEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType) { this.infoType = infoType.toString(); return this; }
/** * <p> * The type of information retrieved. * </p> * * @param infoType * The type of information retrieved. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentInfoType */ public EnvironmentInfoDescription withInfoType(EnvironmentInfoType infoType) { this.infoType = infoType.toString(); return this; }
/** * Constructs a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param infoType * The type of information to request. */ public RequestEnvironmentInfoRequest(EnvironmentInfoType infoType) { setInfoType(infoType.toString()); }
/** * Constructs a new RetrieveEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param infoType * The type of information to retrieve. */ public RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType) { setInfoType(infoType.toString()); }
/** * Use this in place of valueOf. * * @param value * real value * @return EnvironmentInfoType corresponding to the value * * @throws IllegalArgumentException * If the specified value does not map to one of the known values in this enum. */ public static EnvironmentInfoType fromValue(String value) { if (value == null || "".equals(value)) { throw new IllegalArgumentException("Value cannot be null or empty!"); } for (EnvironmentInfoType enumEntry : EnvironmentInfoType.values()) { if (enumEntry.toString().equals(value)) { return enumEntry; } } throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); } }
/** * <p> * The type of information retrieved. * </p> * * @param infoType * The type of information retrieved. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentInfoType */ public EnvironmentInfoDescription withInfoType(EnvironmentInfoType infoType) { this.infoType = infoType.toString(); return this; }
/** * <p> * The type of information to retrieve. * </p> * * @param infoType * The type of information to retrieve. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentInfoType */ public RetrieveEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType) { this.infoType = infoType.toString(); return this; }
/** * <p> * The type of information to request. * </p> * * @param infoType * The type of information to request. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentInfoType */ public RequestEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType) { this.infoType = infoType.toString(); return this; }
/** * Constructs a new RetrieveEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param infoType * The type of information to retrieve. */ public RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType) { setInfoType(infoType.toString()); }
/** * Constructs a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param infoType * The type of information to request. */ public RequestEnvironmentInfoRequest(EnvironmentInfoType infoType) { setInfoType(infoType.toString()); }
/** * Use this in place of valueOf. * * @param value * real value * @return EnvironmentInfoType corresponding to the value * * @throws IllegalArgumentException * If the specified value does not map to one of the known values in this enum. */ public static EnvironmentInfoType fromValue(String value) { if (value == null || "".equals(value)) { throw new IllegalArgumentException("Value cannot be null or empty!"); } for (EnvironmentInfoType enumEntry : EnvironmentInfoType.values()) { if (enumEntry.toString().equals(value)) { return enumEntry; } } throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); } }