/** * <p> * The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to * the order of the data in the <b>Metadata</b> element of the <a>TrustedAdvisorResourceDetail</a> for the check. * <b>Metadata</b> contains all the data that is shown in the Excel download, even in those cases where the UI shows * just summary data. * </p> * * @param metadata * The column headings for the data returned by the Trusted Advisor check. The order of the headings * corresponds to the order of the data in the <b>Metadata</b> element of the * <a>TrustedAdvisorResourceDetail</a> for the check. <b>Metadata</b> contains all the data that is shown in * the Excel download, even in those cases where the UI shows just summary data. * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorCheckDescription withMetadata(java.util.Collection<String> metadata) { setMetadata(metadata); return this; }
/** * <p> * The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to * the order of the data in the <b>Metadata</b> element of the <a>TrustedAdvisorResourceDetail</a> for the check. * <b>Metadata</b> contains all the data that is shown in the Excel download, even in those cases where the UI shows * just summary data. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setMetadata(java.util.Collection)} or {@link #withMetadata(java.util.Collection)} if you want to override * the existing values. * </p> * * @param metadata * The column headings for the data returned by the Trusted Advisor check. The order of the headings * corresponds to the order of the data in the <b>Metadata</b> element of the * <a>TrustedAdvisorResourceDetail</a> for the check. <b>Metadata</b> contains all the data that is shown in * the Excel download, even in those cases where the UI shows just summary data. * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorCheckDescription withMetadata(String... metadata) { if (this.metadata == null) { setMetadata(new com.amazonaws.internal.SdkInternalList<String>(metadata.length)); } for (String ele : metadata) { this.metadata.add(ele); } return this; }
trustedAdvisorCheckDescription.setMetadata(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
/** * <p> * The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to * the order of the data in the <b>Metadata</b> element of the <a>TrustedAdvisorResourceDetail</a> for the check. * <b>Metadata</b> contains all the data that is shown in the Excel download, even in those cases where the UI shows * just summary data. * </p> * * @param metadata * The column headings for the data returned by the Trusted Advisor check. The order of the headings * corresponds to the order of the data in the <b>Metadata</b> element of the * <a>TrustedAdvisorResourceDetail</a> for the check. <b>Metadata</b> contains all the data that is shown in * the Excel download, even in those cases where the UI shows just summary data. * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorCheckDescription withMetadata(java.util.Collection<String> metadata) { setMetadata(metadata); return this; }
/** * <p> * The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to * the order of the data in the <b>Metadata</b> element of the <a>TrustedAdvisorResourceDetail</a> for the check. * <b>Metadata</b> contains all the data that is shown in the Excel download, even in those cases where the UI shows * just summary data. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setMetadata(java.util.Collection)} or {@link #withMetadata(java.util.Collection)} if you want to override * the existing values. * </p> * * @param metadata * The column headings for the data returned by the Trusted Advisor check. The order of the headings * corresponds to the order of the data in the <b>Metadata</b> element of the * <a>TrustedAdvisorResourceDetail</a> for the check. <b>Metadata</b> contains all the data that is shown in * the Excel download, even in those cases where the UI shows just summary data. * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorCheckDescription withMetadata(String... metadata) { if (this.metadata == null) { setMetadata(new com.amazonaws.internal.SdkInternalList<String>(metadata.length)); } for (String ele : metadata) { this.metadata.add(ele); } return this; }
trustedAdvisorCheckDescription.setMetadata(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));