Interface CreateTargetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateTargetGroupResponse.Builder,CreateTargetGroupResponse>,SdkBuilder<CreateTargetGroupResponse.Builder,CreateTargetGroupResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- CreateTargetGroupResponse
public static interface CreateTargetGroupResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateTargetGroupResponse.Builder,CreateTargetGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTargetGroupResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the target group.default CreateTargetGroupResponse.Builderconfig(Consumer<TargetGroupConfig.Builder> config)The target group configuration.CreateTargetGroupResponse.Builderconfig(TargetGroupConfig config)The target group configuration.CreateTargetGroupResponse.Builderid(String id)The ID of the target group.CreateTargetGroupResponse.Buildername(String name)The name of the target group.CreateTargetGroupResponse.Builderstatus(String status)The operation's status.CreateTargetGroupResponse.Builderstatus(TargetGroupStatus status)The operation's status.CreateTargetGroupResponse.Buildertype(String type)The type of target group.CreateTargetGroupResponse.Buildertype(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, 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 Detail
-
arn
CreateTargetGroupResponse.Builder arn(String 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
CreateTargetGroupResponse.Builder config(TargetGroupConfig config)
The target group configuration. If
typeis set toLAMBDA, this parameter doesn't apply.- Parameters:
config- The target group configuration. Iftypeis set toLAMBDA, this parameter doesn't apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
default CreateTargetGroupResponse.Builder config(Consumer<TargetGroupConfig.Builder> config)
The target group configuration. If
This is a convenience method that creates an instance of thetypeis set toLAMBDA, this parameter doesn't apply.TargetGroupConfig.Builderavoiding the need to create one manually viaTargetGroupConfig.builder().When the
Consumercompletes,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:
config(TargetGroupConfig)
-
id
CreateTargetGroupResponse.Builder id(String 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
CreateTargetGroupResponse.Builder name(String 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
CreateTargetGroupResponse.Builder status(String status)
The operation's 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 operation's 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:
TargetGroupStatus,TargetGroupStatus
-
status
CreateTargetGroupResponse.Builder status(TargetGroupStatus status)
The operation's 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 operation's 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:
TargetGroupStatus,TargetGroupStatus
-
type
CreateTargetGroupResponse.Builder type(String 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:
TargetGroupType,TargetGroupType
-
type
CreateTargetGroupResponse.Builder type(TargetGroupType 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:
TargetGroupType,TargetGroupType
-
-