Interface DashboardVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DashboardVersion.Builder,DashboardVersion>,SdkBuilder<DashboardVersion.Builder,DashboardVersion>,SdkPojo
- Enclosing class:
- DashboardVersion
public static interface DashboardVersion.Builder extends SdkPojo, CopyableBuilder<DashboardVersion.Builder,DashboardVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DashboardVersion.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource.DashboardVersion.BuildercreatedTime(Instant createdTime)The time that this dashboard version was created.DashboardVersion.BuilderdataSetArns(String... dataSetArns)The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.DashboardVersion.BuilderdataSetArns(Collection<String> dataSetArns)The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.DashboardVersion.Builderdescription(String description)Description.DashboardVersion.Buildererrors(Collection<DashboardError> errors)Errors associated with this dashboard version.DashboardVersion.Buildererrors(Consumer<DashboardError.Builder>... errors)Errors associated with this dashboard version.DashboardVersion.Buildererrors(DashboardError... errors)Errors associated with this dashboard version.DashboardVersion.Buildersheets(Collection<Sheet> sheets)A list of the associated sheets with the unique identifier and name of each sheet.DashboardVersion.Buildersheets(Consumer<Sheet.Builder>... sheets)A list of the associated sheets with the unique identifier and name of each sheet.DashboardVersion.Buildersheets(Sheet... sheets)A list of the associated sheets with the unique identifier and name of each sheet.DashboardVersion.BuildersourceEntityArn(String sourceEntityArn)Source entity ARN.DashboardVersion.Builderstatus(String status)The HTTP status of the request.DashboardVersion.Builderstatus(ResourceStatus status)The HTTP status of the request.DashboardVersion.BuilderthemeArn(String themeArn)The ARN of the theme associated with a version of the dashboard.DashboardVersion.BuilderversionNumber(Long versionNumber)Version number for this version of the dashboard.-
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, sdkFields
-
-
-
-
Method Detail
-
createdTime
DashboardVersion.Builder createdTime(Instant createdTime)
The time that this dashboard version was created.
- Parameters:
createdTime- The time that this dashboard version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
DashboardVersion.Builder errors(Collection<DashboardError> errors)
Errors associated with this dashboard version.
- Parameters:
errors- Errors associated with this dashboard version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
DashboardVersion.Builder errors(DashboardError... errors)
Errors associated with this dashboard version.
- Parameters:
errors- Errors associated with this dashboard version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
DashboardVersion.Builder errors(Consumer<DashboardError.Builder>... errors)
Errors associated with this dashboard version.
This is a convenience method that creates an instance of theDashboardError.Builderavoiding the need to create one manually viaDashboardError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onDashboardError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
versionNumber
DashboardVersion.Builder versionNumber(Long versionNumber)
Version number for this version of the dashboard.
- Parameters:
versionNumber- Version number for this version of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DashboardVersion.Builder status(String status)
The HTTP status of the request.
- Parameters:
status- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus,ResourceStatus
-
status
DashboardVersion.Builder status(ResourceStatus status)
The HTTP status of the request.
- Parameters:
status- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus,ResourceStatus
-
arn
DashboardVersion.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntityArn
DashboardVersion.Builder sourceEntityArn(String sourceEntityArn)
Source entity ARN.
- Parameters:
sourceEntityArn- Source entity ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSetArns
DashboardVersion.Builder dataSetArns(Collection<String> dataSetArns)
The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.
- Parameters:
dataSetArns- The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSetArns
DashboardVersion.Builder dataSetArns(String... dataSetArns)
The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.
- Parameters:
dataSetArns- The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DashboardVersion.Builder description(String description)
Description.
- Parameters:
description- Description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeArn
DashboardVersion.Builder themeArn(String themeArn)
The ARN of the theme associated with a version of the dashboard.
- Parameters:
themeArn- The ARN of the theme associated with a version of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sheets
DashboardVersion.Builder sheets(Collection<Sheet> sheets)
A list of the associated sheets with the unique identifier and name of each sheet.
- Parameters:
sheets- A list of the associated sheets with the unique identifier and name of each sheet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sheets
DashboardVersion.Builder sheets(Sheet... sheets)
A list of the associated sheets with the unique identifier and name of each sheet.
- Parameters:
sheets- A list of the associated sheets with the unique identifier and name of each sheet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sheets
DashboardVersion.Builder sheets(Consumer<Sheet.Builder>... sheets)
A list of the associated sheets with the unique identifier and name of each sheet.
This is a convenience method that creates an instance of theSheet.Builderavoiding the need to create one manually viaSheet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sheets(List.) - Parameters:
sheets- a consumer that will call methods onSheet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sheets(java.util.Collection)
-
-