Interface Dashboard.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Dashboard.Builder,
,Dashboard> SdkBuilder<Dashboard.Builder,
,Dashboard> SdkPojo
- Enclosing class:
Dashboard
@Mutable
@NotThreadSafe
public static interface Dashboard.Builder
extends SdkPojo, CopyableBuilder<Dashboard.Builder,Dashboard>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource.createdTime
(Instant createdTime) The time that this dashboard was created.dashboardId
(String dashboardId) Dashboard ID.lastPublishedTime
(Instant lastPublishedTime) The last time that this dashboard was published.lastUpdatedTime
(Instant lastUpdatedTime) The last time that this dashboard was updated.linkEntities
(String... linkEntities) A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.linkEntities
(Collection<String> linkEntities) A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.A display name for the dashboard.default Dashboard.Builder
version
(Consumer<DashboardVersion.Builder> version) Version.version
(DashboardVersion version) Version.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dashboardId
Dashboard ID.
- Parameters:
dashboardId
- Dashboard ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the resource.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A display name for the dashboard.
- Parameters:
name
- A display name for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Version.
- Parameters:
version
- Version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Version.
This is a convenience method that creates an instance of theDashboardVersion.Builder
avoiding the need to create one manually viaDashboardVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversion(DashboardVersion)
.- Parameters:
version
- a consumer that will call methods onDashboardVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The time that this dashboard was created.
- Parameters:
createdTime
- The time that this dashboard was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastPublishedTime
The last time that this dashboard was published.
- Parameters:
lastPublishedTime
- The last time that this dashboard was published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The last time that this dashboard was updated.
- Parameters:
lastUpdatedTime
- The last time that this dashboard was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkEntities
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.
- Parameters:
linkEntities
- A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkEntities
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.
- Parameters:
linkEntities
- A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-