Interface GetDeployablePatchSnapshotForInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetDeployablePatchSnapshotForInstanceRequest.Builder,,GetDeployablePatchSnapshotForInstanceRequest> SdkBuilder<GetDeployablePatchSnapshotForInstanceRequest.Builder,,GetDeployablePatchSnapshotForInstanceRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
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.useS3DualStackEndpoint(Boolean useS3DualStackEndpoint) Specifies whether to use S3 dualstack endpoints for the patch snapshot download URL.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, sdkFieldNameToField, 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:
-
useS3DualStackEndpoint
GetDeployablePatchSnapshotForInstanceRequest.Builder useS3DualStackEndpoint(Boolean useS3DualStackEndpoint) Specifies whether to use S3 dualstack endpoints for the patch snapshot download URL. Set to
trueto receive a presigned URL that supports both IPv4 and IPv6 connectivity. Set tofalseto use standard IPv4-only endpoints. Default isfalse. This parameter is required for managed nodes in IPv6-only environments.- Parameters:
useS3DualStackEndpoint- Specifies whether to use S3 dualstack endpoints for the patch snapshot download URL. Set totrueto receive a presigned URL that supports both IPv4 and IPv6 connectivity. Set tofalseto use standard IPv4-only endpoints. Default isfalse. This parameter is required for managed nodes in IPv6-only environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-