@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTargetGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateTargetGroupResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateTargetGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the target group.
|
TargetGroupConfig |
getConfig()
The target group configuration.
|
String |
getId()
The ID of the target group.
|
String |
getName()
The name of the target group.
|
String |
getStatus()
The operation's status.
|
String |
getType()
The type of target group.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the target group.
|
void |
setConfig(TargetGroupConfig config)
The target group configuration.
|
void |
setId(String id)
The ID of the target group.
|
void |
setName(String name)
The name of the target group.
|
void |
setStatus(String status)
The operation's status.
|
void |
setType(String type)
The type of target group.
|
String |
toString()
Returns a string representation of this object.
|
CreateTargetGroupResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the target group.
|
CreateTargetGroupResult |
withConfig(TargetGroupConfig config)
The target group configuration.
|
CreateTargetGroupResult |
withId(String id)
The ID of the target group.
|
CreateTargetGroupResult |
withName(String name)
The name of the target group.
|
CreateTargetGroupResult |
withStatus(String status)
The operation's status.
|
CreateTargetGroupResult |
withStatus(TargetGroupStatus status)
The operation's status.
|
CreateTargetGroupResult |
withType(String type)
The type of target group.
|
CreateTargetGroupResult |
withType(TargetGroupType type)
The type of target group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArn(String arn)
The Amazon Resource Name (ARN) of the target group.
arn - The Amazon Resource Name (ARN) of the target group.public String getArn()
The Amazon Resource Name (ARN) of the target group.
public CreateTargetGroupResult withArn(String arn)
The Amazon Resource Name (ARN) of the target group.
arn - The Amazon Resource Name (ARN) of the target group.public void setConfig(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.public TargetGroupConfig getConfig()
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 CreateTargetGroupResult withConfig(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.public void setId(String id)
The ID of the target group.
id - The ID of the target group.public String getId()
The ID of the target group.
public CreateTargetGroupResult withId(String id)
The ID of the target group.
id - The ID of the target group.public void setName(String name)
The name of the target group.
name - The name of the target group.public String getName()
The name of the target group.
public CreateTargetGroupResult withName(String name)
The name of the target group.
name - The name of the target group.public void setStatus(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 is CREATE_IN_PROGRESS, there is no change in the status.
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.TargetGroupStatuspublic String getStatus()
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.
CREATE_FAILED. However,
if you retry it while the status is CREATE_IN_PROGRESS, there is no change in the status.TargetGroupStatuspublic CreateTargetGroupResult withStatus(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 is CREATE_IN_PROGRESS, there is no change in the status.
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.TargetGroupStatuspublic CreateTargetGroupResult withStatus(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.
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.TargetGroupStatuspublic void setType(String type)
The type of target group.
type - The type of target group.TargetGroupTypepublic String getType()
The type of target group.
TargetGroupTypepublic CreateTargetGroupResult withType(String type)
The type of target group.
type - The type of target group.TargetGroupTypepublic CreateTargetGroupResult withType(TargetGroupType type)
The type of target group.
type - The type of target group.TargetGroupTypepublic String toString()
toString in class ObjectObject.toString()public CreateTargetGroupResult clone()
Copyright © 2023. All rights reserved.