Class TargetGroupSummary
- java.lang.Object
-
- software.amazon.awssdk.services.vpclattice.model.TargetGroupSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetGroupSummary.Builder,TargetGroupSummary>
@Generated("software.amazon.awssdk:codegen") public final class TargetGroupSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetGroupSummary.Builder,TargetGroupSummary>
Summary information about a target group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetGroupSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN (Amazon Resource Name) of the target group.static TargetGroupSummary.Builderbuilder()InstantcreatedAt()The date and time that the target group was created, specified in ISO-8601 format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasServiceArns()For responses, this returns true if the service returned a value for the ServiceArns property.Stringid()The ID of the target group.IpAddressTypeipAddressType()The type of IP address used for the target group.StringipAddressTypeAsString()The type of IP address used for the target group.LambdaEventStructureVersionlambdaEventStructureVersion()Lambda event structure versionStringlambdaEventStructureVersionAsString()Lambda event structure versionInstantlastUpdatedAt()The date and time that the target group was last updated, specified in ISO-8601 format.Stringname()The name of the target group.Integerport()The port of the target group.TargetGroupProtocolprotocol()The protocol of the target group.StringprotocolAsString()The protocol of the target group.List<SdkField<?>>sdkFields()static Class<? extends TargetGroupSummary.Builder>serializableBuilderClass()List<String>serviceArns()The list of Amazon Resource Names (ARNs) of the service.TargetGroupStatusstatus()The status.StringstatusAsString()The status.TargetGroupSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.TargetGroupTypetype()The target group type.StringtypeAsString()The target group type.StringvpcIdentifier()The ID of the VPC of the target group.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN (Amazon Resource Name) of the target group.
- Returns:
- The ARN (Amazon Resource Name) of the target group.
-
createdAt
public final Instant createdAt()
The date and time that the target group was created, specified in ISO-8601 format.
- Returns:
- The date and time that the target group was created, specified in ISO-8601 format.
-
id
public final String id()
The ID of the target group.
- Returns:
- The ID of the target group.
-
ipAddressType
public final IpAddressType ipAddressType()
The type of IP address used for the target group. The possible values are
ipv4andipv6. This is an optional parameter. If not specified, the IP address type defaults toipv4.If the service returns an enum value that is not available in the current SDK version,
ipAddressTypewill returnIpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressTypeAsString().- Returns:
- The type of IP address used for the target group. The possible values are
ipv4andipv6. This is an optional parameter. If not specified, the IP address type defaults toipv4. - See Also:
IpAddressType
-
ipAddressTypeAsString
public final String ipAddressTypeAsString()
The type of IP address used for the target group. The possible values are
ipv4andipv6. This is an optional parameter. If not specified, the IP address type defaults toipv4.If the service returns an enum value that is not available in the current SDK version,
ipAddressTypewill returnIpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressTypeAsString().- Returns:
- The type of IP address used for the target group. The possible values are
ipv4andipv6. This is an optional parameter. If not specified, the IP address type defaults toipv4. - See Also:
IpAddressType
-
lambdaEventStructureVersion
public final LambdaEventStructureVersion lambdaEventStructureVersion()
Lambda event structure version
If the service returns an enum value that is not available in the current SDK version,
lambdaEventStructureVersionwill returnLambdaEventStructureVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaEventStructureVersionAsString().- Returns:
- Lambda event structure version
- See Also:
LambdaEventStructureVersion
-
lambdaEventStructureVersionAsString
public final String lambdaEventStructureVersionAsString()
Lambda event structure version
If the service returns an enum value that is not available in the current SDK version,
lambdaEventStructureVersionwill returnLambdaEventStructureVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaEventStructureVersionAsString().- Returns:
- Lambda event structure version
- See Also:
LambdaEventStructureVersion
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The date and time that the target group was last updated, specified in ISO-8601 format.
- Returns:
- The date and time that the target group was last updated, specified in ISO-8601 format.
-
name
public final String name()
The name of the target group.
- Returns:
- The name of the target group.
-
port
public final Integer port()
The port of the target group.
- Returns:
- The port of the target group.
-
protocol
public final TargetGroupProtocol protocol()
The protocol of the target group.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnTargetGroupProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The protocol of the target group.
- See Also:
TargetGroupProtocol
-
protocolAsString
public final String protocolAsString()
The protocol of the target group.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnTargetGroupProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The protocol of the target group.
- See Also:
TargetGroupProtocol
-
hasServiceArns
public final boolean hasServiceArns()
For responses, this returns true if the service returned a value for the ServiceArns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
serviceArns
public final List<String> serviceArns()
The list of Amazon Resource Names (ARNs) of the service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasServiceArns()method.- Returns:
- The list of Amazon Resource Names (ARNs) of the service.
-
status
public final TargetGroupStatus status()
The status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTargetGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status.
- See Also:
TargetGroupStatus
-
statusAsString
public final String statusAsString()
The status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTargetGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status.
- See Also:
TargetGroupStatus
-
type
public final TargetGroupType type()
The target group type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTargetGroupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The target group type.
- See Also:
TargetGroupType
-
typeAsString
public final String typeAsString()
The target group type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTargetGroupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The target group type.
- See Also:
TargetGroupType
-
vpcIdentifier
public final String vpcIdentifier()
The ID of the VPC of the target group.
- Returns:
- The ID of the VPC of the target group.
-
toBuilder
public TargetGroupSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetGroupSummary.Builder,TargetGroupSummary>
-
builder
public static TargetGroupSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetGroupSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-