Interface IpamRouteProtectionFinding.Builder

  • Method Details

    • resourceOwnerId

      IpamRouteProtectionFinding.Builder resourceOwnerId(String resourceOwnerId)

      The ID of the resource owner.

      Parameters:
      resourceOwnerId - The ID of the resource owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceRegion

      IpamRouteProtectionFinding.Builder resourceRegion(String resourceRegion)

      The Amazon Web Services Region of the resource.

      Parameters:
      resourceRegion - The Amazon Web Services Region of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipamPoolId

      The ID of the IPAM pool associated with the finding.

      Parameters:
      ipamPoolId - The ID of the IPAM pool associated with the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidr

      The IP address prefix in CIDR notation.

      Parameters:
      cidr - The IP address prefix in CIDR notation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • advertisementType

      IpamRouteProtectionFinding.Builder advertisementType(String 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).

      Parameters:
      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).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • advertisementType

      IpamRouteProtectionFinding.Builder advertisementType(IpamByoipAdvertisementType 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).

      Parameters:
      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).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkBorderGroup

      IpamRouteProtectionFinding.Builder networkBorderGroup(String networkBorderGroup)

      The network border group.

      Parameters:
      networkBorderGroup - The network border group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolId

      The ID of the BYOIP pool.

      Parameters:
      poolId - The ID of the BYOIP pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asn

      The Autonomous System Number (ASN) that originates the route.

      Parameters:
      asn - The Autonomous System Number (ASN) that originates the route.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rpkiStrength

      IpamRouteProtectionFinding.Builder rpkiStrength(String rpkiStrength)

      The RPKI enforcement strength for the route. Possible values:

      • strict - Invalid routes are rejected.

      • permissive - Invalid routes are accepted but flagged.

      Parameters:
      rpkiStrength - The RPKI enforcement strength for the route. Possible values:

      • strict - Invalid routes are rejected.

      • permissive - Invalid routes are accepted but flagged.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rpkiStrength

      The RPKI enforcement strength for the route. Possible values:

      • strict - Invalid routes are rejected.

      • permissive - Invalid routes are accepted but flagged.

      Parameters:
      rpkiStrength - The RPKI enforcement strength for the route. Possible values:

      • strict - Invalid routes are rejected.

      • permissive - Invalid routes are accepted but flagged.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roas

      The Route Origin Authorizations (ROAs) that cover the prefix.

      Parameters:
      roas - The Route Origin Authorizations (ROAs) that cover the prefix.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roas

      The Route Origin Authorizations (ROAs) that cover the prefix.

      Parameters:
      roas - The Route Origin Authorizations (ROAs) that cover the prefix.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roas

      The Route Origin Authorizations (ROAs) that cover the prefix.

      This is a convenience method that creates an instance of the IpamRouteOriginAuthorization.Builder avoiding the need to create one manually via IpamRouteOriginAuthorization.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to roas(List<IpamRouteOriginAuthorization>).

      Parameters:
      roas - a consumer that will call methods on IpamRouteOriginAuthorization.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • routeOverlaps

      The overlapping routes detected for this prefix.

      Parameters:
      routeOverlaps - The overlapping routes detected for this prefix.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeOverlaps

      IpamRouteProtectionFinding.Builder routeOverlaps(IpamRouteOverlap... routeOverlaps)

      The overlapping routes detected for this prefix.

      Parameters:
      routeOverlaps - The overlapping routes detected for this prefix.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeOverlaps

      The overlapping routes detected for this prefix.

      This is a convenience method that creates an instance of the IpamRouteOverlap.Builder avoiding the need to create one manually via IpamRouteOverlap.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routeOverlaps(List<IpamRouteOverlap>).

      Parameters:
      routeOverlaps - a consumer that will call methods on IpamRouteOverlap.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sampleTime

      The time when the route was last sampled.

      Parameters:
      sampleTime - The time when the route was last sampled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roaSampleTime

      IpamRouteProtectionFinding.Builder roaSampleTime(Instant roaSampleTime)

      The time when the ROA data was last sampled.

      Parameters:
      roaSampleTime - The time when the ROA data was last sampled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.