Interface Dashboard.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Dashboard.Builder,Dashboard>
,SdkBuilder<Dashboard.Builder,Dashboard>
,SdkPojo
- Enclosing class:
- Dashboard
public static interface Dashboard.Builder extends SdkPojo, CopyableBuilder<Dashboard.Builder,Dashboard>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Dashboard.Builder
arn(String arn)
The Amazon Resource Name (ARN) of the resource.Dashboard.Builder
createdTime(Instant createdTime)
The time that this dashboard was created.Dashboard.Builder
dashboardId(String dashboardId)
Dashboard ID.Dashboard.Builder
lastPublishedTime(Instant lastPublishedTime)
The last time that this dashboard was published.Dashboard.Builder
lastUpdatedTime(Instant lastUpdatedTime)
The last time that this dashboard was updated.Dashboard.Builder
linkEntities(String... linkEntities)
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.Dashboard.Builder
linkEntities(Collection<String> linkEntities)
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.Dashboard.Builder
name(String name)
A display name for the dashboard.default Dashboard.Builder
version(Consumer<DashboardVersion.Builder> version)
Version.Dashboard.Builder
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, sdkFields
-
-
-
-
Method Detail
-
dashboardId
Dashboard.Builder dashboardId(String dashboardId)
Dashboard ID.
- Parameters:
dashboardId
- Dashboard ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Dashboard.Builder arn(String 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
Dashboard.Builder name(String 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
Dashboard.Builder version(DashboardVersion version)
Version.
- Parameters:
version
- Version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
default Dashboard.Builder version(Consumer<DashboardVersion.Builder> 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:
version(DashboardVersion)
-
createdTime
Dashboard.Builder createdTime(Instant 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
Dashboard.Builder lastPublishedTime(Instant 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
Dashboard.Builder lastUpdatedTime(Instant 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
Dashboard.Builder linkEntities(Collection<String> 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
Dashboard.Builder linkEntities(String... 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.
-
-