Interface PutConnectorTelemetryManifestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutConnectorTelemetryManifestRequest.Builder,,PutConnectorTelemetryManifestRequest> ObservabilityAdminRequest.Builder,SdkBuilder<PutConnectorTelemetryManifestRequest.Builder,,PutConnectorTelemetryManifestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutConnectorTelemetryManifestRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time.connectorIdentifier(String connectorIdentifier) The connector.expectedVersion(Long expectedVersion) The version of the telemetry manifest that you expect to replace, as returned byGetConnectorTelemetryManifest.manifest(Consumer<TelemetryManifest.Builder> manifest) The telemetry manifest.manifest(TelemetryManifest manifest) The telemetry manifest.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.observabilityadmin.model.ObservabilityAdminRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectorIdentifier
The connector. Specify one of the following:
-
The Amazon Resource Name (ARN) of the connector
-
The ID of the connector
- Parameters:
connectorIdentifier- The connector. Specify one of the following:-
The Amazon Resource Name (ARN) of the connector
-
The ID of the connector
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
manifest
The telemetry manifest.
- Parameters:
manifest- The telemetry manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifest
default PutConnectorTelemetryManifestRequest.Builder manifest(Consumer<TelemetryManifest.Builder> manifest) The telemetry manifest.
This is a convenience method that creates an instance of theTelemetryManifest.Builderavoiding the need to create one manually viaTelemetryManifest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanifest(TelemetryManifest).- Parameters:
manifest- a consumer that will call methods onTelemetryManifest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedVersion
The version of the telemetry manifest that you expect to replace, as returned by
GetConnectorTelemetryManifest. Omit this value when you create the first telemetry manifest. If the value doesn't match the current version, the request fails with aConflictException.- Parameters:
expectedVersion- The version of the telemetry manifest that you expect to replace, as returned byGetConnectorTelemetryManifest. Omit this value when you create the first telemetry manifest. If the value doesn't match the current version, the request fails with aConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If you use an Amazon Web Services SDK, the SDK generates this value and reuses it on retries. If this token matches a previous request with the same telemetry manifest, the service returns the stored version without an error. If you use the same token with a different telemetry manifest, the service returns a
ValidationException. This operation is idempotent when you use the same token and parameters.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If you use an Amazon Web Services SDK, the SDK generates this value and reuses it on retries. If this token matches a previous request with the same telemetry manifest, the service returns the stored version without an error. If you use the same token with a different telemetry manifest, the service returns aValidationException. This operation is idempotent when you use the same token and parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutConnectorTelemetryManifestRequest.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
PutConnectorTelemetryManifestRequest.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.
-