Class IpamRouteProtectionFinding
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpamRouteProtectionFinding.Builder,IpamRouteProtectionFinding>
Contains information about a route protection finding, including the RPKI validation status of a BYOIP route announcement.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe advertisement type.final StringThe advertisement type.final Stringasn()The Autonomous System Number (ASN) that originates the route.builder()final Stringcidr()The IP address prefix in CIDR notation.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanhasRoas()For responses, this returns true if the service returned a value for the Roas property.final booleanFor responses, this returns true if the service returned a value for the RouteOverlaps property.final StringThe ID of the IPAM pool associated with the finding.final StringThe network border group.final StringpoolId()The ID of the BYOIP pool.final StringThe ID of the resource owner.final StringThe Amazon Web Services Region of the resource.final List<IpamRouteOriginAuthorization> roas()The Route Origin Authorizations (ROAs) that cover the prefix.final InstantThe time when the ROA data was last sampled.final List<IpamRouteOverlap> The overlapping routes detected for this prefix.final IpamRpkiStatusThe RPKI validation status of the route.final StringThe RPKI validation status of the route.final IpamRpkiStrengthThe RPKI enforcement strength for the route.final StringThe RPKI enforcement strength for the route.final InstantThe time when the route was last sampled.static Class<? extends IpamRouteProtectionFinding.Builder> final IpamByoipCidrStatestate()The state of the BYOIP CIDR.final StringThe state of the BYOIP CIDR.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
resourceOwnerId
The ID of the resource owner.
- Returns:
- The ID of the resource owner.
-
resourceRegion
The Amazon Web Services Region of the resource.
- Returns:
- The Amazon Web Services Region of the resource.
-
ipamPoolId
The ID of the IPAM pool associated with the finding.
- Returns:
- The ID of the IPAM pool associated with the finding.
-
cidr
The IP address prefix in CIDR notation.
- Returns:
- The IP address prefix in CIDR notation.
-
state
The state of the BYOIP CIDR. Possible values:
-
advertised- The CIDR is being advertised. -
deprovisioned- The CIDR has been deprovisioned. -
failed-deprovision- Deprovisioning failed. -
failed-provision- Provisioning failed. -
pending-deprovision- Deprovisioning is in progress. -
pending-provision- Provisioning is in progress. -
provisioned- The CIDR is provisioned. -
provisioned-not-publicly-advertisable- The CIDR is provisioned but not publicly advertisable.
If the service returns an enum value that is not available in the current SDK version,
statewill returnIpamByoipCidrState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the BYOIP CIDR. Possible values:
-
advertised- The CIDR is being advertised. -
deprovisioned- The CIDR has been deprovisioned. -
failed-deprovision- Deprovisioning failed. -
failed-provision- Provisioning failed. -
pending-deprovision- Deprovisioning is in progress. -
pending-provision- Provisioning is in progress. -
provisioned- The CIDR is provisioned. -
provisioned-not-publicly-advertisable- The CIDR is provisioned but not publicly advertisable.
-
- See Also:
-
-
stateAsString
The state of the BYOIP CIDR. Possible values:
-
advertised- The CIDR is being advertised. -
deprovisioned- The CIDR has been deprovisioned. -
failed-deprovision- Deprovisioning failed. -
failed-provision- Provisioning failed. -
pending-deprovision- Deprovisioning is in progress. -
pending-provision- Provisioning is in progress. -
provisioned- The CIDR is provisioned. -
provisioned-not-publicly-advertisable- The CIDR is provisioned but not publicly advertisable.
If the service returns an enum value that is not available in the current SDK version,
statewill returnIpamByoipCidrState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the BYOIP CIDR. Possible values:
-
advertised- The CIDR is being advertised. -
deprovisioned- The CIDR has been deprovisioned. -
failed-deprovision- Deprovisioning failed. -
failed-provision- Provisioning failed. -
pending-deprovision- Deprovisioning is in progress. -
pending-provision- Provisioning is in progress. -
provisioned- The CIDR is provisioned. -
provisioned-not-publicly-advertisable- The CIDR is provisioned but not publicly advertisable.
-
- See Also:
-
-
advertisementType
The advertisement type. Possible values:
-
regional- The IP address is advertised from a single location (regional services such as Amazon EC2). -
global- The IP address is advertised from multiple global locations simultaneously (global services such as Amazon CloudFront).
If the service returns an enum value that is not available in the current SDK version,
advertisementTypewill returnIpamByoipAdvertisementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadvertisementTypeAsString().- Returns:
- The advertisement type. Possible values:
-
regional- The IP address is advertised from a single location (regional services such as Amazon EC2). -
global- The IP address is advertised from multiple global locations simultaneously (global services such as Amazon CloudFront).
-
- See Also:
-
-
advertisementTypeAsString
The advertisement type. Possible values:
-
regional- The IP address is advertised from a single location (regional services such as Amazon EC2). -
global- The IP address is advertised from multiple global locations simultaneously (global services such as Amazon CloudFront).
If the service returns an enum value that is not available in the current SDK version,
advertisementTypewill returnIpamByoipAdvertisementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadvertisementTypeAsString().- Returns:
- The advertisement type. Possible values:
-
regional- The IP address is advertised from a single location (regional services such as Amazon EC2). -
global- The IP address is advertised from multiple global locations simultaneously (global services such as Amazon CloudFront).
-
- See Also:
-
-
networkBorderGroup
The network border group.
- Returns:
- The network border group.
-
poolId
-
asn
The Autonomous System Number (ASN) that originates the route.
- Returns:
- The Autonomous System Number (ASN) that originates the route.
-
rpkiStatus
The RPKI validation status of the route. Possible values:
-
valid- The route has a matching ROA that covers the prefix and origin ASN. -
invalid- The route has a ROA for the prefix, but the origin ASN or prefix length does not match. -
unknown- No ROA exists for the prefix, so RPKI validation cannot be performed.
If the service returns an enum value that is not available in the current SDK version,
rpkiStatuswill returnIpamRpkiStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrpkiStatusAsString().- Returns:
- The RPKI validation status of the route. Possible values:
-
valid- The route has a matching ROA that covers the prefix and origin ASN. -
invalid- The route has a ROA for the prefix, but the origin ASN or prefix length does not match. -
unknown- No ROA exists for the prefix, so RPKI validation cannot be performed.
-
- See Also:
-
-
rpkiStatusAsString
The RPKI validation status of the route. Possible values:
-
valid- The route has a matching ROA that covers the prefix and origin ASN. -
invalid- The route has a ROA for the prefix, but the origin ASN or prefix length does not match. -
unknown- No ROA exists for the prefix, so RPKI validation cannot be performed.
If the service returns an enum value that is not available in the current SDK version,
rpkiStatuswill returnIpamRpkiStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrpkiStatusAsString().- Returns:
- The RPKI validation status of the route. Possible values:
-
valid- The route has a matching ROA that covers the prefix and origin ASN. -
invalid- The route has a ROA for the prefix, but the origin ASN or prefix length does not match. -
unknown- No ROA exists for the prefix, so RPKI validation cannot be performed.
-
- See Also:
-
-
rpkiStrength
The RPKI enforcement strength for the route. Possible values:
-
strict- Invalid routes are rejected. -
permissive- Invalid routes are accepted but flagged.
If the service returns an enum value that is not available in the current SDK version,
rpkiStrengthwill returnIpamRpkiStrength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrpkiStrengthAsString().- Returns:
- The RPKI enforcement strength for the route. Possible values:
-
strict- Invalid routes are rejected. -
permissive- Invalid routes are accepted but flagged.
-
- See Also:
-
-
rpkiStrengthAsString
The RPKI enforcement strength for the route. Possible values:
-
strict- Invalid routes are rejected. -
permissive- Invalid routes are accepted but flagged.
If the service returns an enum value that is not available in the current SDK version,
rpkiStrengthwill returnIpamRpkiStrength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrpkiStrengthAsString().- Returns:
- The RPKI enforcement strength for the route. Possible values:
-
strict- Invalid routes are rejected. -
permissive- Invalid routes are accepted but flagged.
-
- See Also:
-
-
hasRoas
public final boolean hasRoas()For responses, this returns true if the service returned a value for the Roas 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. -
roas
The Route Origin Authorizations (ROAs) that cover the prefix.
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
hasRoas()method.- Returns:
- The Route Origin Authorizations (ROAs) that cover the prefix.
-
hasRouteOverlaps
public final boolean hasRouteOverlaps()For responses, this returns true if the service returned a value for the RouteOverlaps 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. -
routeOverlaps
The overlapping routes detected for this prefix.
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
hasRouteOverlaps()method.- Returns:
- The overlapping routes detected for this prefix.
-
sampleTime
The time when the route was last sampled.
- Returns:
- The time when the route was last sampled.
-
roaSampleTime
The time when the ROA data was last sampled.
- Returns:
- The time when the ROA data was last sampled.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IpamRouteProtectionFinding.Builder,IpamRouteProtectionFinding> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-