Interface View.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<View.Builder,,View> SdkBuilder<View.Builder,,View> SdkPojo
- Enclosing class:
View
@Mutable
@NotThreadSafe
public static interface View.Builder
extends SdkPojo, CopyableBuilder<View.Builder,View>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the view.default View.Buildercontent(Consumer<ViewContent.Builder> content) View content containing all content necessary to render a view except for runtime input data.content(ViewContent content) View content containing all content necessary to render a view except for runtime input data.The identifier of the view.The name of the view.The current version of the view.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The identifier of the view.
- Parameters:
id- The identifier of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the view.
- Parameters:
arn- The Amazon Resource Name (ARN) of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the view.
- Parameters:
name- The name of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The current version of the view.
- Parameters:
version- The current version of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
View content containing all content necessary to render a view except for runtime input data.
- Parameters:
content- View content containing all content necessary to render a view except for runtime input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
View content containing all content necessary to render a view except for runtime input data.
This is a convenience method that creates an instance of theViewContent.Builderavoiding the need to create one manually viaViewContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(ViewContent).- Parameters:
content- a consumer that will call methods onViewContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-