/** * <p> * The layer attributes. * </p> * <p> * For the <code>HaproxyStatsPassword</code>, <code>MysqlRootPassword</code>, and <code>GangliaPassword</code> * attributes, AWS OpsWorks Stacks returns <code>*****FILTERED*****</code> instead of the actual value * </p> * <p> * For an ECS Cluster layer, AWS OpsWorks Stacks the <code>EcsClusterArn</code> attribute is set to the cluster's * ARN. * </p> * * @param attributes * The layer attributes.</p> * <p> * For the <code>HaproxyStatsPassword</code>, <code>MysqlRootPassword</code>, and * <code>GangliaPassword</code> attributes, AWS OpsWorks Stacks returns <code>*****FILTERED*****</code> * instead of the actual value * </p> * <p> * For an ECS Cluster layer, AWS OpsWorks Stacks the <code>EcsClusterArn</code> attribute is set to the * cluster's ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public Layer withAttributes(java.util.Map<String, String> attributes) { setAttributes(attributes); return this; }
layer.setAttributes(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context));
/** * <p> * The layer attributes. * </p> * <p> * For the <code>HaproxyStatsPassword</code>, <code>MysqlRootPassword</code>, and <code>GangliaPassword</code> * attributes, AWS OpsWorks Stacks returns <code>*****FILTERED*****</code> instead of the actual value * </p> * <p> * For an ECS Cluster layer, AWS OpsWorks Stacks the <code>EcsClusterArn</code> attribute is set to the cluster's * ARN. * </p> * * @param attributes * The layer attributes.</p> * <p> * For the <code>HaproxyStatsPassword</code>, <code>MysqlRootPassword</code>, and * <code>GangliaPassword</code> attributes, AWS OpsWorks Stacks returns <code>*****FILTERED*****</code> * instead of the actual value * </p> * <p> * For an ECS Cluster layer, AWS OpsWorks Stacks the <code>EcsClusterArn</code> attribute is set to the * cluster's ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public Layer withAttributes(java.util.Map<String, String> attributes) { setAttributes(attributes); return this; }
layer.setAttributes(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context));