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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaBaselineOverride.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-