Class IpamPrefixListResolverTarget
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IpamPrefixListResolverTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpamPrefixListResolverTarget.Builder,IpamPrefixListResolverTarget>
@Generated("software.amazon.awssdk:codegen") public final class IpamPrefixListResolverTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpamPrefixListResolverTarget.Builder,IpamPrefixListResolverTarget>
Describes an IPAM prefix list resolver target.
An IPAM prefix list resolver target is an association between a specific customer-managed prefix list and an IPAM prefix list resolver. The target enables the resolver to synchronize CIDRs selected by its rules into the specified prefix list, which can then be referenced in Amazon Web Services resources.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIpamPrefixListResolverTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpamPrefixListResolverTarget.Builderbuilder()LongdesiredVersion()The desired version of the prefix list that this target should synchronize with.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.StringipamPrefixListResolverId()The ID of the IPAM prefix list resolver associated with this target.StringipamPrefixListResolverTargetArn()The Amazon Resource Name (ARN) of the IPAM prefix list resolver target.StringipamPrefixListResolverTargetId()The ID of the IPAM prefix list resolver target.LonglastSyncedVersion()The version of the prefix list that was last successfully synchronized by this target.StringownerId()The ID of the Amazon Web Services account that owns the IPAM prefix list resolver target.StringprefixListId()The ID of the managed prefix list associated with this target.StringprefixListRegion()The Amazon Web Services Region where the prefix list associated with this target is located.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IpamPrefixListResolverTarget.Builder>serializableBuilderClass()IpamPrefixListResolverTargetStatestate()The current state of the IPAM prefix list resolver target.StringstateAsString()The current state of the IPAM prefix list resolver target.StringstateMessage()A message describing the current state of the IPAM prefix list resolver target, including any error information.List<Tag>tags()The tags assigned to the IPAM prefix list resolver target.IpamPrefixListResolverTarget.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleantrackLatestVersion()Indicates whether this target automatically tracks the latest version of the prefix list.-
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
-
ipamPrefixListResolverTargetId
public final String ipamPrefixListResolverTargetId()
The ID of the IPAM prefix list resolver target.
- Returns:
- The ID of the IPAM prefix list resolver target.
-
ipamPrefixListResolverTargetArn
public final String ipamPrefixListResolverTargetArn()
The Amazon Resource Name (ARN) of the IPAM prefix list resolver target.
- Returns:
- The Amazon Resource Name (ARN) of the IPAM prefix list resolver target.
-
ipamPrefixListResolverId
public final String ipamPrefixListResolverId()
The ID of the IPAM prefix list resolver associated with this target.
- Returns:
- The ID of the IPAM prefix list resolver associated with this target.
-
ownerId
public final String ownerId()
The ID of the Amazon Web Services account that owns the IPAM prefix list resolver target.
- Returns:
- The ID of the Amazon Web Services account that owns the IPAM prefix list resolver target.
-
prefixListId
public final String prefixListId()
The ID of the managed prefix list associated with this target.
- Returns:
- The ID of the managed prefix list associated with this target.
-
prefixListRegion
public final String prefixListRegion()
The Amazon Web Services Region where the prefix list associated with this target is located.
- Returns:
- The Amazon Web Services Region where the prefix list associated with this target is located.
-
desiredVersion
public final Long desiredVersion()
The desired version of the prefix list that this target should synchronize with.
- Returns:
- The desired version of the prefix list that this target should synchronize with.
-
lastSyncedVersion
public final Long lastSyncedVersion()
The version of the prefix list that was last successfully synchronized by this target.
- Returns:
- The version of the prefix list that was last successfully synchronized by this target.
-
trackLatestVersion
public final Boolean trackLatestVersion()
Indicates whether this target automatically tracks the latest version of the prefix list.
- Returns:
- Indicates whether this target automatically tracks the latest version of the prefix list.
-
stateMessage
public final String stateMessage()
A message describing the current state of the IPAM prefix list resolver target, including any error information.
- Returns:
- A message describing the current state of the IPAM prefix list resolver target, including any error information.
-
state
public final IpamPrefixListResolverTargetState state()
The current state of the IPAM prefix list resolver target. Valid values include
create-in-progress,create-complete,create-failed,modify-in-progress,modify-complete,modify-failed,delete-in-progress,delete-complete, anddelete-failed.If the service returns an enum value that is not available in the current SDK version,
statewill returnIpamPrefixListResolverTargetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the IPAM prefix list resolver target. Valid values include
create-in-progress,create-complete,create-failed,modify-in-progress,modify-complete,modify-failed,delete-in-progress,delete-complete, anddelete-failed. - See Also:
IpamPrefixListResolverTargetState
-
stateAsString
public final String stateAsString()
The current state of the IPAM prefix list resolver target. Valid values include
create-in-progress,create-complete,create-failed,modify-in-progress,modify-complete,modify-failed,delete-in-progress,delete-complete, anddelete-failed.If the service returns an enum value that is not available in the current SDK version,
statewill returnIpamPrefixListResolverTargetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the IPAM prefix list resolver target. Valid values include
create-in-progress,create-complete,create-failed,modify-in-progress,modify-complete,modify-failed,delete-in-progress,delete-complete, anddelete-failed. - See Also:
IpamPrefixListResolverTargetState
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags 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.
-
tags
public final List<Tag> tags()
The tags assigned to the IPAM prefix list resolver target.
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
hasTags()method.- Returns:
- The tags assigned to the IPAM prefix list resolver target.
-
toBuilder
public IpamPrefixListResolverTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpamPrefixListResolverTarget.Builder,IpamPrefixListResolverTarget>
-
builder
public static IpamPrefixListResolverTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends IpamPrefixListResolverTarget.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
-
-