Interface CreateDashboardRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<CreateDashboardRequest.Builder,CreateDashboardRequest>,SdkBuilder<CreateDashboardRequest.Builder,CreateDashboardRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDashboardRequest
public static interface CreateDashboardRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<CreateDashboardRequest.Builder,CreateDashboardRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDashboardRequest.Buildername(String name)The name of the dashboard.CreateDashboardRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDashboardRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateDashboardRequest.BuilderrefreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)The refresh schedule configuration for the dashboard.CreateDashboardRequest.BuilderrefreshSchedule(RefreshSchedule refreshSchedule)The refresh schedule configuration for the dashboard.CreateDashboardRequest.BuildertagsList(Collection<Tag> tagsList)Sets the value of the TagsList property for this object.CreateDashboardRequest.BuildertagsList(Consumer<Tag.Builder>... tagsList)Sets the value of the TagsList property for this object.CreateDashboardRequest.BuildertagsList(Tag... tagsList)Sets the value of the TagsList property for this object.CreateDashboardRequest.BuilderterminationProtectionEnabled(Boolean terminationProtectionEnabled)Specifies whether termination protection is enabled for the dashboard.CreateDashboardRequest.Builderwidgets(Collection<RequestWidget> widgets)An array of widgets for a custom dashboard.CreateDashboardRequest.Builderwidgets(Consumer<RequestWidget.Builder>... widgets)An array of widgets for a custom dashboard.CreateDashboardRequest.Builderwidgets(RequestWidget... widgets)An array of widgets for a custom dashboard.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
name
CreateDashboardRequest.Builder name(String name)
The name of the dashboard. The name must be unique to your account.
To create the Highlights dashboard, the name must be
AWSCloudTrail-Highlights.- Parameters:
name- The name of the dashboard. The name must be unique to your account.To create the Highlights dashboard, the name must be
AWSCloudTrail-Highlights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSchedule
CreateDashboardRequest.Builder refreshSchedule(RefreshSchedule refreshSchedule)
The refresh schedule configuration for the dashboard.
To create the Highlights dashboard, you must set a refresh schedule and set the
StatustoENABLED. TheUnitfor the refresh schedule must beHOURSand theValuemust be6.- Parameters:
refreshSchedule- The refresh schedule configuration for the dashboard.To create the Highlights dashboard, you must set a refresh schedule and set the
StatustoENABLED. TheUnitfor the refresh schedule must beHOURSand theValuemust be6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSchedule
default CreateDashboardRequest.Builder refreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)
The refresh schedule configuration for the dashboard.
To create the Highlights dashboard, you must set a refresh schedule and set the
This is a convenience method that creates an instance of theStatustoENABLED. TheUnitfor the refresh schedule must beHOURSand theValuemust be6.RefreshSchedule.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)
-
tagsList
CreateDashboardRequest.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
CreateDashboardRequest.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
CreateDashboardRequest.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)
-
terminationProtectionEnabled
CreateDashboardRequest.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)
Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.
- Parameters:
terminationProtectionEnabled- Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
CreateDashboardRequest.Builder widgets(Collection<RequestWidget> widgets)
An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.
You do not need to specify widgets for the Highlights dashboard.
- Parameters:
widgets- An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.You do not need to specify widgets for the Highlights dashboard.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
CreateDashboardRequest.Builder widgets(RequestWidget... widgets)
An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.
You do not need to specify widgets for the Highlights dashboard.
- Parameters:
widgets- An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.You do not need to specify widgets for the Highlights dashboard.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
CreateDashboardRequest.Builder widgets(Consumer<RequestWidget.Builder>... widgets)
An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.
You do not need to specify widgets for the Highlights dashboard.
This is a convenience method that creates an instance of theRequestWidget.Builderavoiding the need to create one manually viaRequestWidget.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 onRequestWidget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#widgets(java.util.Collection)
-
overrideConfiguration
CreateDashboardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDashboardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-