Interface ApplicationStatusCheckResponseObject.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationStatusCheckResponseObject.Builder,,ApplicationStatusCheckResponseObject> SdkBuilder<ApplicationStatusCheckResponseObject.Builder,,ApplicationStatusCheckResponseObject> SdkPojo
- Enclosing class:
ApplicationStatusCheckResponseObject
-
Method Summary
Modifier and TypeMethodDescriptionaggregation(String aggregation) The aggregation setting for the application status check.aggregation(AggregationStatusEnum aggregation) The aggregation setting for the application status check.applicationStatusCheckId(String applicationStatusCheckId) The ID of the application status check.creationTime(Instant creationTime) The date and time when the application status check was created.deletionTime(Instant deletionTime) The date and time when the application status check was deleted.deviceIndex(Integer deviceIndex) The index of the network device used for the health check.failureThreshold(Integer failureThreshold) The number of consecutive failed health checks before the application status is considered impaired.healthCheckPaths(Collection<HealthCheckPathResponseObject> healthCheckPaths) The health check paths for the application status check.healthCheckPaths(Consumer<HealthCheckPathResponseObject.Builder>... healthCheckPaths) The health check paths for the application status check.healthCheckPaths(HealthCheckPathResponseObject... healthCheckPaths) The health check paths for the application status check.initializationGracePeriodSeconds(Integer initializationGracePeriodSeconds) The number of seconds to wait before starting health checks after an instance is launched.The interval, in seconds, between health checks.The IP scope used for the health check.ipScope(IpScopeEnum ipScope) The IP scope used for the health check.The IP version used for the health check.ipVersion(IpVersionEnum ipVersion) The IP version used for the health check.lastUpdatedAt(Instant lastUpdatedAt) The date and time when the application status check was last updated.modifyTime(Instant modifyTime) The date and time when the application status check was last modified.The URL path used for the health check HTTP request.The port used for the health check.The protocol used for the health check.protocol(NetworkProtocolEnum protocol) The protocol used for the health check.statusCodeMatcher(String statusCodeMatcher) The comma-separated list of individual HTTP status codes or ranges that indicate a successful health check response.successThreshold(Integer successThreshold) The number of consecutive successful health checks before the application status is considered healthy.tags(Collection<Tag> tags) The tags assigned to the application status check.tags(Consumer<Tag.Builder>... tags) The tags assigned to the application status check.The tags assigned to the application status check.targetTagAssociations(Collection<CustomTagKeyValueResponsePair> targetTagAssociations) The tags associated with the application status check.targetTagAssociations(Consumer<CustomTagKeyValueResponsePair.Builder>... targetTagAssociations) The tags associated with the application status check.targetTagAssociations(CustomTagKeyValueResponsePair... targetTagAssociations) The tags associated with the application status check.The amount of time, in seconds, to wait for a health check response.Methods 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, sdkFields
-
Method Details
-
applicationStatusCheckId
ApplicationStatusCheckResponseObject.Builder applicationStatusCheckId(String applicationStatusCheckId) The ID of the application status check.
- Parameters:
applicationStatusCheckId- The ID of the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregation
The aggregation setting for the application status check. When set to
included, the result of this check contributes to the instance-level application status. When set toexcluded, the check runs independently and does not affect the instance-level status.- Parameters:
aggregation- The aggregation setting for the application status check. When set toincluded, the result of this check contributes to the instance-level application status. When set toexcluded, the check runs independently and does not affect the instance-level status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregation
The aggregation setting for the application status check. When set to
included, the result of this check contributes to the instance-level application status. When set toexcluded, the check runs independently and does not affect the instance-level status.- Parameters:
aggregation- The aggregation setting for the application status check. When set toincluded, the result of this check contributes to the instance-level application status. When set toexcluded, the check runs independently and does not affect the instance-level status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
healthCheckPaths
ApplicationStatusCheckResponseObject.Builder healthCheckPaths(Collection<HealthCheckPathResponseObject> healthCheckPaths) The health check paths for the application status check.
- Parameters:
healthCheckPaths- The health check paths for the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckPaths
ApplicationStatusCheckResponseObject.Builder healthCheckPaths(HealthCheckPathResponseObject... healthCheckPaths) The health check paths for the application status check.
- Parameters:
healthCheckPaths- The health check paths for the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckPaths
ApplicationStatusCheckResponseObject.Builder healthCheckPaths(Consumer<HealthCheckPathResponseObject.Builder>... healthCheckPaths) The health check paths for the application status check.
This is a convenience method that creates an instance of theHealthCheckPathResponseObject.Builderavoiding the need to create one manually viaHealthCheckPathResponseObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheckPaths(List<HealthCheckPathResponseObject>).- Parameters:
healthCheckPaths- a consumer that will call methods onHealthCheckPathResponseObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol used for the health check.
- Parameters:
protocol- The protocol used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol used for the health check.
- Parameters:
protocol- The protocol used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
port
The port used for the health check.
- Parameters:
port- The port used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The URL path used for the health check HTTP request.
- Parameters:
path- The URL path used for the health check HTTP request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIndex
The index of the network device used for the health check. The value is greater than or equal to 0.
- Parameters:
deviceIndex- The index of the network device used for the health check. The value is greater than or equal to 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipVersion
The IP version used for the health check.
- Parameters:
ipVersion- The IP version used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipVersion
The IP version used for the health check.
- Parameters:
ipVersion- The IP version used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipScope
The IP scope used for the health check.
- Parameters:
ipScope- The IP scope used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipScope
The IP scope used for the health check.
- Parameters:
ipScope- The IP scope used for the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interval
The interval, in seconds, between health checks. Valid value: 60.
- Parameters:
interval- The interval, in seconds, between health checks. Valid value: 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The amount of time, in seconds, to wait for a health check response. Valid values: 1 to 30.
- Parameters:
timeout- The amount of time, in seconds, to wait for a health check response. Valid values: 1 to 30.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureThreshold
The number of consecutive failed health checks before the application status is considered impaired. The value must be greater than 0.
- Parameters:
failureThreshold- The number of consecutive failed health checks before the application status is considered impaired. The value must be greater than 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successThreshold
The number of consecutive successful health checks before the application status is considered healthy. The value must be greater than 0.
- Parameters:
successThreshold- The number of consecutive successful health checks before the application status is considered healthy. The value must be greater than 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCodeMatcher
The comma-separated list of individual HTTP status codes or ranges that indicate a successful health check response.
- Parameters:
statusCodeMatcher- The comma-separated list of individual HTTP status codes or ranges that indicate a successful health check response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initializationGracePeriodSeconds
ApplicationStatusCheckResponseObject.Builder initializationGracePeriodSeconds(Integer initializationGracePeriodSeconds) The number of seconds to wait before starting health checks after an instance is launched. Valid values: 1 to 600.
- Parameters:
initializationGracePeriodSeconds- The number of seconds to wait before starting health checks after an instance is launched. Valid values: 1 to 600.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The date and time when the application status check was last updated.
- Parameters:
lastUpdatedAt- The date and time when the application status check was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagAssociations
ApplicationStatusCheckResponseObject.Builder targetTagAssociations(Collection<CustomTagKeyValueResponsePair> targetTagAssociations) The tags associated with the application status check. Instances with these tags are automatically monitored by this check.
- Parameters:
targetTagAssociations- The tags associated with the application status check. Instances with these tags are automatically monitored by this check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagAssociations
ApplicationStatusCheckResponseObject.Builder targetTagAssociations(CustomTagKeyValueResponsePair... targetTagAssociations) The tags associated with the application status check. Instances with these tags are automatically monitored by this check.
- Parameters:
targetTagAssociations- The tags associated with the application status check. Instances with these tags are automatically monitored by this check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagAssociations
ApplicationStatusCheckResponseObject.Builder targetTagAssociations(Consumer<CustomTagKeyValueResponsePair.Builder>... targetTagAssociations) The tags associated with the application status check. Instances with these tags are automatically monitored by this check.
This is a convenience method that creates an instance of theCustomTagKeyValueResponsePair.Builderavoiding the need to create one manually viaCustomTagKeyValueResponsePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetTagAssociations(List<CustomTagKeyValueResponsePair>).- Parameters:
targetTagAssociations- a consumer that will call methods onCustomTagKeyValueResponsePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the application status check.
- Parameters:
tags- The tags assigned to the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the application status check.
- Parameters:
tags- The tags assigned to the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the application status check.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The date and time when the application status check was created.
- Parameters:
creationTime- The date and time when the application status check was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifyTime
The date and time when the application status check was last modified.
- Parameters:
modifyTime- The date and time when the application status check was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionTime
The date and time when the application status check was deleted.
- Parameters:
deletionTime- The date and time when the application status check was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-