@Generated(value="software.amazon.awssdk:codegen") public final class CreateTargetGroupResponse extends VpcLatticeResponse implements ToCopyableBuilder<CreateTargetGroupResponse.Builder,CreateTargetGroupResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTargetGroupResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the target group.
|
static CreateTargetGroupResponse.Builder |
builder() |
TargetGroupConfig |
config()
The target group configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the target group.
|
String |
name()
The name of the target group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTargetGroupResponse.Builder> |
serializableBuilderClass() |
TargetGroupStatus |
status()
The operation's status.
|
String |
statusAsString()
The operation's status.
|
CreateTargetGroupResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TargetGroupType |
type()
The type of target group.
|
String |
typeAsString()
The type of target group.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the target group.
public final TargetGroupConfig config()
The target group configuration. If type is set to LAMBDA, this parameter doesn't apply.
type is set to LAMBDA, this parameter
doesn't apply.public final String id()
The ID of the target group.
public final String name()
The name of the target group.
public final 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 is CREATE_IN_PROGRESS, there is no change in the status.
If the service returns an enum value that is not available in the current SDK version, status will
return TargetGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATE_FAILED. However,
if you retry it while the status is CREATE_IN_PROGRESS, there is no change in the status.TargetGroupStatuspublic final String statusAsString()
The operation's status. You can retry the operation if the status is CREATE_FAILED. However, if you
retry it while the status is CREATE_IN_PROGRESS, there is no change in the status.
If the service returns an enum value that is not available in the current SDK version, status will
return TargetGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATE_FAILED. However,
if you retry it while the status is CREATE_IN_PROGRESS, there is no change in the status.TargetGroupStatuspublic final TargetGroupType type()
The type of target group.
If the service returns an enum value that is not available in the current SDK version, type will return
TargetGroupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TargetGroupTypepublic final String typeAsString()
The type of target group.
If the service returns an enum value that is not available in the current SDK version, type will return
TargetGroupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TargetGroupTypepublic CreateTargetGroupResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTargetGroupResponse.Builder,CreateTargetGroupResponse>toBuilder in class AwsResponsepublic static CreateTargetGroupResponse.Builder builder()
public static Class<? extends CreateTargetGroupResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.