Interface CreateDashboardResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<CreateDashboardResponse.Builder,CreateDashboardResponse>,SdkBuilder<CreateDashboardResponse.Builder,CreateDashboardResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDashboardResponse
public static interface CreateDashboardResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<CreateDashboardResponse.Builder,CreateDashboardResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDashboardResponse.BuilderdashboardArn(String dashboardArn)The ARN for the dashboard.CreateDashboardResponse.Buildername(String name)The name of the dashboard.default CreateDashboardResponse.BuilderrefreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)The refresh schedule for the dashboard, if configured.CreateDashboardResponse.BuilderrefreshSchedule(RefreshSchedule refreshSchedule)The refresh schedule for the dashboard, if configured.CreateDashboardResponse.BuildertagsList(Collection<Tag> tagsList)Sets the value of the TagsList property for this object.CreateDashboardResponse.BuildertagsList(Consumer<Tag.Builder>... tagsList)Sets the value of the TagsList property for this object.CreateDashboardResponse.BuildertagsList(Tag... tagsList)Sets the value of the TagsList property for this object.CreateDashboardResponse.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Indicates whether termination protection is enabled for the dashboard.CreateDashboardResponse.Buildertype(String type)The dashboard type.CreateDashboardResponse.Buildertype(DashboardType type)The dashboard type.CreateDashboardResponse.Builderwidgets(Collection<Widget> widgets)An array of widgets for the dashboard.CreateDashboardResponse.Builderwidgets(Consumer<Widget.Builder>... widgets)An array of widgets for the dashboard.CreateDashboardResponse.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
CreateDashboardResponse.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
CreateDashboardResponse.Builder name(String 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
CreateDashboardResponse.Builder type(String 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:
DashboardType,DashboardType
-
type
CreateDashboardResponse.Builder type(DashboardType 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:
DashboardType,DashboardType
-
widgets
CreateDashboardResponse.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
CreateDashboardResponse.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
CreateDashboardResponse.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)
-
tagsList
CreateDashboardResponse.Builder tagsList(Collection<Tag> 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
CreateDashboardResponse.Builder tagsList(Tag... 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
CreateDashboardResponse.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Sets the value of the TagsList property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagsList(List.) - 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:
#tagsList(java.util.Collection)
-
refreshSchedule
CreateDashboardResponse.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 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.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
CreateDashboardResponse.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.
-
-