Interface UpdateDashboardResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<UpdateDashboardResponse.Builder,UpdateDashboardResponse>,SdkBuilder<UpdateDashboardResponse.Builder,UpdateDashboardResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateDashboardResponse
public static interface UpdateDashboardResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<UpdateDashboardResponse.Builder,UpdateDashboardResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDashboardResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp that shows when the dashboard was created.UpdateDashboardResponse.BuilderdashboardArn(String dashboardArn)The ARN for the dashboard.UpdateDashboardResponse.Buildername(String name)The name for the dashboard.default UpdateDashboardResponse.BuilderrefreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)The refresh schedule for the dashboard, if configured.UpdateDashboardResponse.BuilderrefreshSchedule(RefreshSchedule refreshSchedule)The refresh schedule for the dashboard, if configured.UpdateDashboardResponse.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Indicates whether termination protection is enabled for the dashboard.UpdateDashboardResponse.Buildertype(String type)The type of dashboard.UpdateDashboardResponse.Buildertype(DashboardType type)The type of dashboard.UpdateDashboardResponse.BuilderupdatedTimestamp(Instant updatedTimestamp)The timestamp that shows when the dashboard was updated.UpdateDashboardResponse.Builderwidgets(Collection<Widget> widgets)An array of widgets for the dashboard.UpdateDashboardResponse.Builderwidgets(Consumer<Widget.Builder>... widgets)An array of widgets for the dashboard.UpdateDashboardResponse.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
UpdateDashboardResponse.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.
-
name
UpdateDashboardResponse.Builder name(String name)
The name for the dashboard.
- Parameters:
name- The name for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
UpdateDashboardResponse.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
UpdateDashboardResponse.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
-
widgets
UpdateDashboardResponse.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
UpdateDashboardResponse.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
UpdateDashboardResponse.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
UpdateDashboardResponse.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 UpdateDashboardResponse.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)
-
terminationProtectionEnabled
UpdateDashboardResponse.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.
-
createdTimestamp
UpdateDashboardResponse.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
UpdateDashboardResponse.Builder updatedTimestamp(Instant updatedTimestamp)
The timestamp that shows when the dashboard was updated.
- Parameters:
updatedTimestamp- The timestamp that shows when the dashboard was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-