Interface GetDeployablePatchSnapshotForInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetDeployablePatchSnapshotForInstanceRequest.Builder,
,GetDeployablePatchSnapshotForInstanceRequest> SdkBuilder<GetDeployablePatchSnapshotForInstanceRequest.Builder,
,GetDeployablePatchSnapshotForInstanceRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
GetDeployablePatchSnapshotForInstanceRequest
public static interface GetDeployablePatchSnapshotForInstanceRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<GetDeployablePatchSnapshotForInstanceRequest.Builder,GetDeployablePatchSnapshotForInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbaselineOverride
(Consumer<BaselineOverride.Builder> baselineOverride) Defines the basic information about a patch baseline override.baselineOverride
(BaselineOverride baselineOverride) Defines the basic information about a patch baseline override.instanceId
(String instanceId) The ID of the managed node for which the appropriate patch snapshot should be retrieved.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotId
(String snapshotId) The snapshot ID provided by the user when runningAWS-RunPatchBaseline
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
instanceId
The ID of the managed node for which the appropriate patch snapshot should be retrieved.
- Parameters:
instanceId
- The ID of the managed node for which the appropriate patch snapshot should be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The snapshot ID provided by the user when running
AWS-RunPatchBaseline
.- Parameters:
snapshotId
- The snapshot ID provided by the user when runningAWS-RunPatchBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineOverride
GetDeployablePatchSnapshotForInstanceRequest.Builder baselineOverride(BaselineOverride baselineOverride) Defines the basic information about a patch baseline override.
- Parameters:
baselineOverride
- Defines the basic information about a patch baseline override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineOverride
default GetDeployablePatchSnapshotForInstanceRequest.Builder baselineOverride(Consumer<BaselineOverride.Builder> baselineOverride) Defines the basic information about a patch baseline override.
This is a convenience method that creates an instance of theBaselineOverride.Builder
avoiding the need to create one manually viaBaselineOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaselineOverride(BaselineOverride)
.- Parameters:
baselineOverride
- a consumer that will call methods onBaselineOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetDeployablePatchSnapshotForInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetDeployablePatchSnapshotForInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-