Interface GetTelemetryRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTelemetryRuleResponse.Builder,
,GetTelemetryRuleResponse> ObservabilityAdminResponse.Builder
,SdkBuilder<GetTelemetryRuleResponse.Builder,
,GetTelemetryRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTelemetryRuleResponse
@Mutable
@NotThreadSafe
public static interface GetTelemetryRuleResponse.Builder
extends ObservabilityAdminResponse.Builder, SdkPojo, CopyableBuilder<GetTelemetryRuleResponse.Builder,GetTelemetryRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimeStamp
(Long createdTimeStamp) The timestamp when the telemetry rule was created.lastUpdateTimeStamp
(Long lastUpdateTimeStamp) The timestamp when the telemetry rule was last updated.The Amazon Resource Name (ARN) of the telemetry rule.The name of the telemetry rule.default GetTelemetryRuleResponse.Builder
telemetryRule
(Consumer<TelemetryRule.Builder> telemetryRule) The configuration details of the telemetry rule.telemetryRule
(TelemetryRule telemetryRule) The configuration details of the telemetry rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ruleName
The name of the telemetry rule.
- Parameters:
ruleName
- The name of the telemetry rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleArn
The Amazon Resource Name (ARN) of the telemetry rule.
- Parameters:
ruleArn
- The Amazon Resource Name (ARN) of the telemetry rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimeStamp
The timestamp when the telemetry rule was created.
- Parameters:
createdTimeStamp
- The timestamp when the telemetry rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimeStamp
The timestamp when the telemetry rule was last updated.
- Parameters:
lastUpdateTimeStamp
- The timestamp when the telemetry rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryRule
The configuration details of the telemetry rule.
- Parameters:
telemetryRule
- The configuration details of the telemetry rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryRule
default GetTelemetryRuleResponse.Builder telemetryRule(Consumer<TelemetryRule.Builder> telemetryRule) The configuration details of the telemetry rule.
This is a convenience method that creates an instance of theTelemetryRule.Builder
avoiding the need to create one manually viaTelemetryRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totelemetryRule(TelemetryRule)
.- Parameters:
telemetryRule
- a consumer that will call methods onTelemetryRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-