Interface CreateDashboardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<CreateDashboardResponse.Builder,
,CreateDashboardResponse> SdkBuilder<CreateDashboardResponse.Builder,
,CreateDashboardResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDashboardResponse
-
Method Summary
Modifier and TypeMethodDescriptiondashboardArn
(String dashboardArn) The ARN for the dashboard.The name of the dashboard.default CreateDashboardResponse.Builder
refreshSchedule
(Consumer<RefreshSchedule.Builder> refreshSchedule) The refresh schedule for the dashboard, if configured.refreshSchedule
(RefreshSchedule refreshSchedule) The refresh schedule for the dashboard, if configured.tagsList
(Collection<Tag> tagsList) Sets the value of the TagsList property for this object.tagsList
(Consumer<Tag.Builder>... tagsList) Sets the value of the TagsList property for this object.Sets the value of the TagsList property for this object.terminationProtectionEnabled
(Boolean terminationProtectionEnabled) Indicates whether termination protection is enabled for the dashboard.The dashboard type.type
(DashboardType type) The dashboard type.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, 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 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 of the dashboard.
- Parameters:
name
- The name of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The dashboard type.
- Parameters:
type
- The dashboard type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The dashboard type.
- Parameters:
type
- The dashboard type.- 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.Builder
avoiding the need to create one manually viaWidget.builder()
.When the
Consumer
completes,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:
-
tagsList
Sets the value of the TagsList property for this object.- Parameters:
tagsList
- The new value for the TagsList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
Sets the value of the TagsList property for this object.- Parameters:
tagsList
- The new value for the TagsList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsList
Sets the value of the TagsList property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagsList(List<Tag>)
.- Parameters:
tagsList
- a consumer that will call methods onTag.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 CreateDashboardResponse.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.Builder
avoiding the need to create one manually viaRefreshSchedule.builder()
.When the
Consumer
completes,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.
-