* The format of the recipe. *
*/ private String recipeOutputFormat; /** ** The recipe of the component version. *
*/ private java.nio.ByteBuffer recipe; /** ** A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
*/ private java.util.Map* The format of the recipe. *
* * @param recipeOutputFormat * The format of the recipe. * @see RecipeOutputFormat */ public void setRecipeOutputFormat(String recipeOutputFormat) { this.recipeOutputFormat = recipeOutputFormat; } /** ** The format of the recipe. *
* * @return The format of the recipe. * @see RecipeOutputFormat */ public String getRecipeOutputFormat() { return this.recipeOutputFormat; } /** ** The format of the recipe. *
* * @param recipeOutputFormat * The format of the recipe. * @return Returns a reference to this object so that method calls can be chained together. * @see RecipeOutputFormat */ public GetComponentResult withRecipeOutputFormat(String recipeOutputFormat) { setRecipeOutputFormat(recipeOutputFormat); return this; } /** ** The format of the recipe. *
* * @param recipeOutputFormat * The format of the recipe. * @return Returns a reference to this object so that method calls can be chained together. * @see RecipeOutputFormat */ public GetComponentResult withRecipeOutputFormat(RecipeOutputFormat recipeOutputFormat) { this.recipeOutputFormat = recipeOutputFormat.toString(); return this; } /** ** The recipe of the component version. *
** The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *
** Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will * be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or * ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future * major version of the SDK. *
* * @param recipe * The recipe of the component version. */ public void setRecipe(java.nio.ByteBuffer recipe) { this.recipe = recipe; } /** ** The recipe of the component version. *
** {@code ByteBuffer}s are stateful. Calling their {@code get} methods changes their {@code position}. We recommend * using {@link java.nio.ByteBuffer#asReadOnlyBuffer()} to create a read-only view of the buffer with an independent * {@code position}, and calling {@code get} methods on this rather than directly on the returned {@code ByteBuffer}. * Doing so will ensure that anyone else using the {@code ByteBuffer} will not be affected by changes to the * {@code position}. *
* * @return The recipe of the component version. */ public java.nio.ByteBuffer getRecipe() { return this.recipe; } /** ** The recipe of the component version. *
** The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *
** Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will * be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or * ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future * major version of the SDK. *
* * @param recipe * The recipe of the component version. * @return Returns a reference to this object so that method calls can be chained together. */ public GetComponentResult withRecipe(java.nio.ByteBuffer recipe) { setRecipe(recipe); return this; } /** ** A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
* * @return A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources * in the IoT Greengrass V2 Developer Guide. */ public java.util.Map* A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
* * @param tags * A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources * in the IoT Greengrass V2 Developer Guide. */ public void setTags(java.util.Map* A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
* * @param tags * A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources * in the IoT Greengrass V2 Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public GetComponentResult withTags(java.util.Map