Interface EnabledBaselineDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EnabledBaselineDetails.Builder,
,EnabledBaselineDetails> SdkBuilder<EnabledBaselineDetails.Builder,
,EnabledBaselineDetails> SdkPojo
- Enclosing class:
EnabledBaselineDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of theEnabledBaseline
resource.baselineIdentifier
(String baselineIdentifier) The specificBaseline
enabled as part of theEnabledBaseline
resource.baselineVersion
(String baselineVersion) The enabled version of theBaseline
.default EnabledBaselineDetails.Builder
driftStatusSummary
(Consumer<EnabledBaselineDriftStatusSummary.Builder> driftStatusSummary) The drift status of the enabled baseline.driftStatusSummary
(EnabledBaselineDriftStatusSummary driftStatusSummary) The drift status of the enabled baseline.parameters
(Collection<EnabledBaselineParameterSummary> parameters) Shows the parameters that are applied when enabling thisBaseline
.parameters
(Consumer<EnabledBaselineParameterSummary.Builder>... parameters) Shows the parameters that are applied when enabling thisBaseline
.parameters
(EnabledBaselineParameterSummary... parameters) Shows the parameters that are applied when enabling thisBaseline
.parentIdentifier
(String parentIdentifier) An ARN that represents the parentEnabledBaseline
at the Organizational Unit (OU) level, from which the childEnabledBaseline
inherits its configuration.default EnabledBaselineDetails.Builder
statusSummary
(Consumer<EnablementStatusSummary.Builder> statusSummary) Sets the value of the StatusSummary property for this object.statusSummary
(EnablementStatusSummary statusSummary) Sets the value of the StatusSummary property for this object.targetIdentifier
(String targetIdentifier) The target on which to enable theBaseline
.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 Details
-
arn
The ARN of the
EnabledBaseline
resource.- Parameters:
arn
- The ARN of theEnabledBaseline
resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineIdentifier
The specific
Baseline
enabled as part of theEnabledBaseline
resource.- Parameters:
baselineIdentifier
- The specificBaseline
enabled as part of theEnabledBaseline
resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineVersion
The enabled version of the
Baseline
.- Parameters:
baselineVersion
- The enabled version of theBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftStatusSummary
EnabledBaselineDetails.Builder driftStatusSummary(EnabledBaselineDriftStatusSummary driftStatusSummary) The drift status of the enabled baseline.
- Parameters:
driftStatusSummary
- The drift status of the enabled baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftStatusSummary
default EnabledBaselineDetails.Builder driftStatusSummary(Consumer<EnabledBaselineDriftStatusSummary.Builder> driftStatusSummary) The drift status of the enabled baseline.
This is a convenience method that creates an instance of theEnabledBaselineDriftStatusSummary.Builder
avoiding the need to create one manually viaEnabledBaselineDriftStatusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todriftStatusSummary(EnabledBaselineDriftStatusSummary)
.- Parameters:
driftStatusSummary
- a consumer that will call methods onEnabledBaselineDriftStatusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
Shows the parameters that are applied when enabling this
Baseline
.- Parameters:
parameters
- Shows the parameters that are applied when enabling thisBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Shows the parameters that are applied when enabling this
Baseline
.- Parameters:
parameters
- Shows the parameters that are applied when enabling thisBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
EnabledBaselineDetails.Builder parameters(Consumer<EnabledBaselineParameterSummary.Builder>... parameters) Shows the parameters that are applied when enabling this
This is a convenience method that creates an instance of theBaseline
.EnabledBaselineParameterSummary.Builder
avoiding the need to create one manually viaEnabledBaselineParameterSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<EnabledBaselineParameterSummary>)
.- Parameters:
parameters
- a consumer that will call methods onEnabledBaselineParameterSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentIdentifier
An ARN that represents the parent
EnabledBaseline
at the Organizational Unit (OU) level, from which the childEnabledBaseline
inherits its configuration. The value is returned byGetEnabledBaseline
.- Parameters:
parentIdentifier
- An ARN that represents the parentEnabledBaseline
at the Organizational Unit (OU) level, from which the childEnabledBaseline
inherits its configuration. The value is returned byGetEnabledBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
Sets the value of the StatusSummary property for this object.- Parameters:
statusSummary
- The new value for the StatusSummary property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
default EnabledBaselineDetails.Builder statusSummary(Consumer<EnablementStatusSummary.Builder> statusSummary) Sets the value of the StatusSummary property for this object. This is a convenience method that creates an instance of theEnablementStatusSummary.Builder
avoiding the need to create one manually viaEnablementStatusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusSummary(EnablementStatusSummary)
.- Parameters:
statusSummary
- a consumer that will call methods onEnablementStatusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetIdentifier
The target on which to enable the
Baseline
.- Parameters:
targetIdentifier
- The target on which to enable theBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-