Interface GetTargetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTargetGroupResponse.Builder,
,GetTargetGroupResponse> SdkBuilder<GetTargetGroupResponse.Builder,
,GetTargetGroupResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
GetTargetGroupResponse
@Mutable
@NotThreadSafe
public static interface GetTargetGroupResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<GetTargetGroupResponse.Builder,GetTargetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the target group.default GetTargetGroupResponse.Builder
config
(Consumer<TargetGroupConfig.Builder> config) The target group configuration.config
(TargetGroupConfig config) The target group configuration.The date and time that the target group was created, in ISO-8601 format.failureCode
(String failureCode) The failure code.failureMessage
(String failureMessage) The failure message.The ID of the target group.lastUpdatedAt
(Instant lastUpdatedAt) The date and time that the target group was last updated, in ISO-8601 format.The name of the target group.serviceArns
(String... serviceArns) The Amazon Resource Names (ARNs) of the service.serviceArns
(Collection<String> serviceArns) The Amazon Resource Names (ARNs) of the service.The status.status
(TargetGroupStatus status) The status.The target group type.type
(TargetGroupType type) The target group type.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the target group.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
The target group configuration.
- Parameters:
config
- The target group configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
The target group configuration.
This is a convenience method that creates an instance of theTargetGroupConfig.Builder
avoiding the need to create one manually viaTargetGroupConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfig(TargetGroupConfig)
.- Parameters:
config
- a consumer that will call methods onTargetGroupConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time that the target group was created, in ISO-8601 format.
- Parameters:
createdAt
- The date and time that the target group was created, in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
The failure code.
- Parameters:
failureCode
- The failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
The failure message.
- Parameters:
failureMessage
- The failure message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the target group.
- Parameters:
id
- The ID of the target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The date and time that the target group was last updated, in ISO-8601 format.
- Parameters:
lastUpdatedAt
- The date and time that the target group was last updated, in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the target group.
- Parameters:
name
- The name of the target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceArns
The Amazon Resource Names (ARNs) of the service.
- Parameters:
serviceArns
- The Amazon Resource Names (ARNs) of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceArns
The Amazon Resource Names (ARNs) of the service.
- Parameters:
serviceArns
- The Amazon Resource Names (ARNs) of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status.
- Parameters:
status
- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status.
- Parameters:
status
- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The target group type.
- Parameters:
type
- The target group type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The target group type.
- Parameters:
type
- The target group type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-