/** * <p> * Represents the current enhanced monitoring settings of the stream. * </p> * * @param enhancedMonitoring * Represents the current enhanced monitoring settings of the stream. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription withEnhancedMonitoring(java.util.Collection<EnhancedMetrics> enhancedMonitoring) { setEnhancedMonitoring(enhancedMonitoring); return this; }
/** * <p> * Represents the current enhanced monitoring settings of the stream. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setEnhancedMonitoring(java.util.Collection)} or {@link #withEnhancedMonitoring(java.util.Collection)} if * you want to override the existing values. * </p> * * @param enhancedMonitoring * Represents the current enhanced monitoring settings of the stream. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription withEnhancedMonitoring(EnhancedMetrics... enhancedMonitoring) { if (this.enhancedMonitoring == null) { setEnhancedMonitoring(new com.amazonaws.internal.SdkInternalList<EnhancedMetrics>(enhancedMonitoring.length)); } for (EnhancedMetrics ele : enhancedMonitoring) { this.enhancedMonitoring.add(ele); } return this; }
streamDescription.setEnhancedMonitoring(new ListUnmarshaller<EnhancedMetrics>(EnhancedMetricsJsonUnmarshaller.getInstance()) .unmarshall(context));
/** * <p> * Represents the current enhanced monitoring settings of the stream. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param enhancedMonitoring <p> * Represents the current enhanced monitoring settings of the * stream. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public StreamDescription withEnhancedMonitoring( java.util.Collection<EnhancedMetrics> enhancedMonitoring) { setEnhancedMonitoring(enhancedMonitoring); return this; }
.unmarshall(context)); } else if (name.equals("EnhancedMonitoring")) { streamDescription.setEnhancedMonitoring(new ListUnmarshaller<EnhancedMetrics>( EnhancedMetricsJsonUnmarshaller.getInstance()
/** * <p> * Represents the current enhanced monitoring settings of the stream. * </p> * * @param enhancedMonitoring * Represents the current enhanced monitoring settings of the stream. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription withEnhancedMonitoring(java.util.Collection<EnhancedMetrics> enhancedMonitoring) { setEnhancedMonitoring(enhancedMonitoring); return this; }
/** * <p> * Represents the current enhanced monitoring settings of the stream. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setEnhancedMonitoring(java.util.Collection)} or {@link #withEnhancedMonitoring(java.util.Collection)} if * you want to override the existing values. * </p> * * @param enhancedMonitoring * Represents the current enhanced monitoring settings of the stream. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription withEnhancedMonitoring(EnhancedMetrics... enhancedMonitoring) { if (this.enhancedMonitoring == null) { setEnhancedMonitoring(new com.amazonaws.internal.SdkInternalList<EnhancedMetrics>(enhancedMonitoring.length)); } for (EnhancedMetrics ele : enhancedMonitoring) { this.enhancedMonitoring.add(ele); } return this; }
streamDescription.setEnhancedMonitoring(new ListUnmarshaller<EnhancedMetrics>(EnhancedMetricsJsonUnmarshaller.getInstance()) .unmarshall(context));