Interface GetDashboardResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<GetDashboardResponse.Builder,GetDashboardResponse>,SdkBuilder<GetDashboardResponse.Builder,GetDashboardResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDashboardResponse
public static interface GetDashboardResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetDashboardResponse.Builder,GetDashboardResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDashboardResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp that shows when the dashboard was created.GetDashboardResponse.BuilderdashboardArn(String dashboardArn)The ARN for the dashboard.GetDashboardResponse.BuilderlastRefreshFailureReason(String lastRefreshFailureReason)Provides information about failures for the last scheduled refresh.GetDashboardResponse.BuilderlastRefreshId(String lastRefreshId)The ID of the last dashboard refresh.default GetDashboardResponse.BuilderrefreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)The refresh schedule for the dashboard, if configured.GetDashboardResponse.BuilderrefreshSchedule(RefreshSchedule refreshSchedule)The refresh schedule for the dashboard, if configured.GetDashboardResponse.Builderstatus(String status)The status of the dashboard.GetDashboardResponse.Builderstatus(DashboardStatus status)The status of the dashboard.GetDashboardResponse.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Indicates whether termination protection is enabled for the dashboard.GetDashboardResponse.Buildertype(String type)The type of dashboard.GetDashboardResponse.Buildertype(DashboardType type)The type of dashboard.GetDashboardResponse.BuilderupdatedTimestamp(Instant updatedTimestamp)The timestamp that shows when the dashboard was last updated.GetDashboardResponse.Builderwidgets(Collection<Widget> widgets)An array of widgets for the dashboard.GetDashboardResponse.Builderwidgets(Consumer<Widget.Builder>... widgets)An array of widgets for the dashboard.GetDashboardResponse.Builderwidgets(Widget... widgets)An array of widgets for the dashboard.-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dashboardArn
GetDashboardResponse.Builder dashboardArn(String dashboardArn)
The ARN for the dashboard.
- Parameters:
dashboardArn- The ARN for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
GetDashboardResponse.Builder type(String type)
The type of dashboard.
- Parameters:
type- The type of dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DashboardType,DashboardType
-
type
GetDashboardResponse.Builder type(DashboardType type)
The type of dashboard.
- Parameters:
type- The type of dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DashboardType,DashboardType
-
status
GetDashboardResponse.Builder status(String status)
The status of the dashboard.
- Parameters:
status- The status of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DashboardStatus,DashboardStatus
-
status
GetDashboardResponse.Builder status(DashboardStatus status)
The status of the dashboard.
- Parameters:
status- The status of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DashboardStatus,DashboardStatus
-
widgets
GetDashboardResponse.Builder widgets(Collection<Widget> widgets)
An array of widgets for the dashboard.
- Parameters:
widgets- An array of widgets for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
GetDashboardResponse.Builder widgets(Widget... widgets)
An array of widgets for the dashboard.
- Parameters:
widgets- An array of widgets for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
GetDashboardResponse.Builder widgets(Consumer<Widget.Builder>... widgets)
An array of widgets for the dashboard.
This is a convenience method that creates an instance of theWidget.Builderavoiding the need to create one manually viaWidget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#widgets(List.) - Parameters:
widgets- a consumer that will call methods onWidget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#widgets(java.util.Collection)
-
refreshSchedule
GetDashboardResponse.Builder refreshSchedule(RefreshSchedule refreshSchedule)
The refresh schedule for the dashboard, if configured.
- Parameters:
refreshSchedule- The refresh schedule for the dashboard, if configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSchedule
default GetDashboardResponse.Builder refreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)
The refresh schedule for the dashboard, if configured.
This is a convenience method that creates an instance of theRefreshSchedule.Builderavoiding the need to create one manually viaRefreshSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torefreshSchedule(RefreshSchedule).- Parameters:
refreshSchedule- a consumer that will call methods onRefreshSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
refreshSchedule(RefreshSchedule)
-
createdTimestamp
GetDashboardResponse.Builder createdTimestamp(Instant createdTimestamp)
The timestamp that shows when the dashboard was created.
- Parameters:
createdTimestamp- The timestamp that shows when the dashboard was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
GetDashboardResponse.Builder updatedTimestamp(Instant updatedTimestamp)
The timestamp that shows when the dashboard was last updated.
- Parameters:
updatedTimestamp- The timestamp that shows when the dashboard was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshId
GetDashboardResponse.Builder lastRefreshId(String lastRefreshId)
The ID of the last dashboard refresh.
- Parameters:
lastRefreshId- The ID of the last dashboard refresh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshFailureReason
GetDashboardResponse.Builder lastRefreshFailureReason(String lastRefreshFailureReason)
Provides information about failures for the last scheduled refresh.
- Parameters:
lastRefreshFailureReason- Provides information about failures for the last scheduled refresh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationProtectionEnabled
GetDashboardResponse.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)
Indicates whether termination protection is enabled for the dashboard.
- Parameters:
terminationProtectionEnabled- Indicates whether termination protection is enabled for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-