Class TargetResource
- java.lang.Object
-
- software.amazon.awssdk.services.networkflowmonitor.model.TargetResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetResource.Builder,TargetResource>
@Generated("software.amazon.awssdk:codegen") public final class TargetResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetResource.Builder,TargetResource>
A target resource in a scope. The resource is identified by a Region and a target identifier, which includes a target ID and a target type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetResource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringregion()The Amazon Web Services Region where the target resource is located.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TargetResource.Builder>serializableBuilderClass()TargetIdentifiertargetIdentifier()A target identifier is a pair of identifying information for a resource that is included in a target.TargetResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
targetIdentifier
public final TargetIdentifier targetIdentifier()
A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.
- Returns:
- A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.
-
region
public final String region()
The Amazon Web Services Region where the target resource is located.
- Returns:
- The Amazon Web Services Region where the target resource is located.
-
toBuilder
public TargetResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetResource.Builder,TargetResource>
-
builder
public static TargetResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetResource.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-