Interface CreateTargetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTargetGroupResponse.Builder,
,CreateTargetGroupResponse> SdkBuilder<CreateTargetGroupResponse.Builder,
,CreateTargetGroupResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
CreateTargetGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateTargetGroupResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateTargetGroupResponse.Builder,CreateTargetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the target group.config
(Consumer<TargetGroupConfig.Builder> config) The target group configuration.config
(TargetGroupConfig config) The target group configuration.The ID of the target group.The name of the target group.The status.status
(TargetGroupStatus status) The status.The type of target group.type
(TargetGroupType type) The type of target group.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:
-
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.
-
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.
-
status
The status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.- Parameters:
status
- The status. You can retry the operation if the status isCREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.- Parameters:
status
- The status. You can retry the operation if the status isCREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of target group.
- Parameters:
type
- The type of target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of target group.
- Parameters:
type
- The type of target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-