Interface View.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<View.Builder,View>,SdkBuilder<View.Builder,View>,SdkPojo
- Enclosing class:
- View
public static interface View.Builder extends SdkPojo, CopyableBuilder<View.Builder,View>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description View.Builderarn(String arn)The 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.View.Buildercontent(ViewContent content)View content containing all content necessary to render a view except for runtime input data.View.BuildercreatedTime(Instant createdTime)The timestamp of when the view was created.View.Builderdescription(String description)The description of the view.View.Builderid(String id)The identifier of the view.View.BuilderlastModifiedTime(Instant lastModifiedTime)Latest timestamp of theUpdateViewContentorCreateViewVersionoperations.View.Buildername(String name)The name of the view.View.Builderstatus(String status)Indicates the view status as eitherSAVEDorPUBLISHED.View.Builderstatus(ViewStatus status)Indicates the view status as eitherSAVEDorPUBLISHED.View.Buildertags(Map<String,String> tags)The tags associated with the view resource (not specific to view version).View.Buildertype(String type)The type of the view -CUSTOMER_MANAGED.View.Buildertype(ViewType type)The type of the view -CUSTOMER_MANAGED.View.Builderversion(Integer version)Current version of the view.View.BuilderversionDescription(String versionDescription)The description of the version.View.BuilderviewContentSha256(String viewContentSha256)Indicates the checksum value of the latest published view content.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
View.Builder id(String 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
View.Builder arn(String 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
View.Builder name(String 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.
-
status
View.Builder status(String status)
Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Parameters:
status- Indicates the view status as eitherSAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ViewStatus,ViewStatus
-
status
View.Builder status(ViewStatus status)
Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Parameters:
status- Indicates the view status as eitherSAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ViewStatus,ViewStatus
-
type
View.Builder type(String type)
The type of the view -
CUSTOMER_MANAGED.
-
type
View.Builder type(ViewType type)
The type of the view -
CUSTOMER_MANAGED.
-
description
View.Builder description(String description)
The description of the view.
- Parameters:
description- The description of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
View.Builder version(Integer version)
Current version of the view.
- Parameters:
version- Current version of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
View.Builder versionDescription(String versionDescription)
The description of the version.
- Parameters:
versionDescription- The description of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
View.Builder content(ViewContent 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
default View.Builder content(Consumer<ViewContent.Builder> 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:
content(ViewContent)
-
tags
View.Builder tags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).
- Parameters:
tags- The tags associated with the view resource (not specific to view version).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
View.Builder createdTime(Instant createdTime)
The timestamp of when the view was created.
- Parameters:
createdTime- The timestamp of when the view was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
View.Builder lastModifiedTime(Instant lastModifiedTime)
Latest timestamp of the
UpdateViewContentorCreateViewVersionoperations.- Parameters:
lastModifiedTime- Latest timestamp of theUpdateViewContentorCreateViewVersionoperations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewContentSha256
View.Builder viewContentSha256(String viewContentSha256)
Indicates the checksum value of the latest published view content.
- Parameters:
viewContentSha256- Indicates the checksum value of the latest published view content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-