public static interface CreateTargetGroupRequest.Builder extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTargetGroupRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you
retry a request that completed successfully using the same client token and parameters, the retry
succeeds without performing any actions. If the parameters aren't identical, the retry fails.CreateTargetGroupRequest.Builder config(TargetGroupConfig config)
The target group configuration. If type is set to LAMBDA, this parameter doesn't
apply.
config - The target group configuration. If type is set to LAMBDA, this parameter
doesn't apply.default CreateTargetGroupRequest.Builder config(Consumer<TargetGroupConfig.Builder> config)
The target group configuration. If type is set to LAMBDA, this parameter doesn't
apply.
TargetGroupConfig.Builder avoiding the
need to create one manually via TargetGroupConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to config(TargetGroupConfig).
config - a consumer that will call methods on TargetGroupConfig.Builderconfig(TargetGroupConfig)CreateTargetGroupRequest.Builder name(String name)
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
name - The name of the target group. The name must be unique within the account. The valid characters are
a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after
another hyphen.CreateTargetGroupRequest.Builder tags(Map<String,String> tags)
The tags for the target group.
tags - The tags for the target group.CreateTargetGroupRequest.Builder type(String type)
The type of target group.
type - The type of target group.TargetGroupType,
TargetGroupTypeCreateTargetGroupRequest.Builder type(TargetGroupType type)
The type of target group.
type - The type of target group.TargetGroupType,
TargetGroupTypeCreateTargetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTargetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.