Interface UpdateDashboardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<UpdateDashboardResponse.Builder,,UpdateDashboardResponse> SdkBuilder<UpdateDashboardResponse.Builder,,UpdateDashboardResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateDashboardResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The timestamp that shows when the dashboard was created.dashboardArn(String dashboardArn) The ARN for the dashboard.The name for the dashboard.default UpdateDashboardResponse.BuilderrefreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule) The refresh schedule for the dashboard, if configured.refreshSchedule(RefreshSchedule refreshSchedule) The refresh schedule for the dashboard, if configured.terminationProtectionEnabled(Boolean terminationProtectionEnabled) Indicates whether termination protection is enabled for the dashboard.The type of dashboard.type(DashboardType type) The type of dashboard.updatedTimestamp(Instant updatedTimestamp) The timestamp that shows when the dashboard was updated.widgets(Collection<Widget> widgets) An array of widgets for the dashboard.widgets(Consumer<Widget.Builder>... widgets) An array of widgets for the dashboard.An array of widgets for the dashboard.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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:
-
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:
-
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
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
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 towidgets(List<Widget>).- 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:
-
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:
-
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
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
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.
-