Interface TelemetryConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TelemetryConfiguration.Builder,
,TelemetryConfiguration> SdkBuilder<TelemetryConfiguration.Builder,
,TelemetryConfiguration> SdkPojo
- Enclosing class:
TelemetryConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaccountIdentifier
(String accountIdentifier) The account ID which contains the resource managed in telemetry configuration.lastUpdateTimeStamp
(Long lastUpdateTimeStamp) The timestamp of the last change to the telemetry configuration for the resource.resourceIdentifier
(String resourceIdentifier) The identifier of the resource, for examplei-0b22a22eec53b9321
.resourceTags
(Map<String, String> resourceTags) Tags associated with the resource, for example{ Name: "ExampleInstance", Environment: "Development" }
.resourceType
(String resourceType) The type of resource, for exampleAWS::EC2::Instance
.resourceType
(ResourceType resourceType) The type of resource, for exampleAWS::EC2::Instance
.telemetryConfigurationState
(Map<TelemetryType, TelemetryState> telemetryConfigurationState) The configuration state for the resource, for example{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }
.telemetryConfigurationStateWithStrings
(Map<String, String> telemetryConfigurationState) The configuration state for the resource, for example{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }
.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, sdkFieldNameToField, sdkFields
-
Method Details
-
accountIdentifier
The account ID which contains the resource managed in telemetry configuration. An example of a valid account ID is
012345678901
.- Parameters:
accountIdentifier
- The account ID which contains the resource managed in telemetry configuration. An example of a valid account ID is012345678901
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryConfigurationStateWithStrings
TelemetryConfiguration.Builder telemetryConfigurationStateWithStrings(Map<String, String> telemetryConfigurationState) The configuration state for the resource, for example
{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }
.- Parameters:
telemetryConfigurationState
- The configuration state for the resource, for example{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryConfigurationState
TelemetryConfiguration.Builder telemetryConfigurationState(Map<TelemetryType, TelemetryState> telemetryConfigurationState) The configuration state for the resource, for example
{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }
.- Parameters:
telemetryConfigurationState
- The configuration state for the resource, for example{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource, for example
AWS::EC2::Instance
.- Parameters:
resourceType
- The type of resource, for exampleAWS::EC2::Instance
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource, for example
AWS::EC2::Instance
.- Parameters:
resourceType
- The type of resource, for exampleAWS::EC2::Instance
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceIdentifier
The identifier of the resource, for example
i-0b22a22eec53b9321
.- Parameters:
resourceIdentifier
- The identifier of the resource, for examplei-0b22a22eec53b9321
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
Tags associated with the resource, for example
{ Name: "ExampleInstance", Environment: "Development" }
.- Parameters:
resourceTags
- Tags associated with the resource, for example{ Name: "ExampleInstance", Environment: "Development" }
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimeStamp
The timestamp of the last change to the telemetry configuration for the resource. For example,
1728679196318
.- Parameters:
lastUpdateTimeStamp
- The timestamp of the last change to the telemetry configuration for the resource. For example,1728679196318
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-