Interface EnabledBaselineSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnabledBaselineSummary.Builder,EnabledBaselineSummary>,SdkBuilder<EnabledBaselineSummary.Builder,EnabledBaselineSummary>,SdkPojo
- Enclosing class:
- EnabledBaselineSummary
public static interface EnabledBaselineSummary.Builder extends SdkPojo, CopyableBuilder<EnabledBaselineSummary.Builder,EnabledBaselineSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EnabledBaselineSummary.Builderarn(String arn)The ARN of theEnabledBaselineresourceEnabledBaselineSummary.BuilderbaselineIdentifier(String baselineIdentifier)The specific baseline that is enabled as part of theEnabledBaselineresource.EnabledBaselineSummary.BuilderbaselineVersion(String baselineVersion)The enabled version of the baseline.default EnabledBaselineSummary.BuilderstatusSummary(Consumer<EnablementStatusSummary.Builder> statusSummary)Sets the value of the StatusSummary property for this object.EnabledBaselineSummary.BuilderstatusSummary(EnablementStatusSummary statusSummary)Sets the value of the StatusSummary property for this object.EnabledBaselineSummary.BuildertargetIdentifier(String targetIdentifier)The target upon which the baseline is enabled.-
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
-
arn
EnabledBaselineSummary.Builder arn(String arn)
The ARN of the
EnabledBaselineresource- Parameters:
arn- The ARN of theEnabledBaselineresource- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineIdentifier
EnabledBaselineSummary.Builder baselineIdentifier(String baselineIdentifier)
The specific baseline that is enabled as part of the
EnabledBaselineresource.- Parameters:
baselineIdentifier- The specific baseline that is enabled as part of theEnabledBaselineresource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineVersion
EnabledBaselineSummary.Builder baselineVersion(String baselineVersion)
The enabled version of the baseline.
- Parameters:
baselineVersion- The enabled version of the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
EnabledBaselineSummary.Builder statusSummary(EnablementStatusSummary 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 EnabledBaselineSummary.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.Builderavoiding the need to create one manually viaEnablementStatusSummary.builder().When the
Consumercompletes,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:
statusSummary(EnablementStatusSummary)
-
targetIdentifier
EnabledBaselineSummary.Builder targetIdentifier(String targetIdentifier)
The target upon which the baseline is enabled.
- Parameters:
targetIdentifier- The target upon which the baseline is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-