Class IpamRouteOriginAuthorization
java.lang.Object
software.amazon.awssdk.services.ec2.model.IpamRouteOriginAuthorization
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpamRouteOriginAuthorization.Builder,IpamRouteOriginAuthorization>
@Generated("software.amazon.awssdk:codegen")
public final class IpamRouteOriginAuthorization
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<IpamRouteOriginAuthorization.Builder,IpamRouteOriginAuthorization>
Contains information about a Route Origin Authorization (ROA) published in the RPKI. A ROA cryptographically attests that a specific ASN is authorized to originate a specific IP address prefix.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringasn()The Autonomous System Number (ASN) authorized by the ROA.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final InstantThe expiration date of the ROA.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Booleanmatch()Specifies whether the ROA matches the route announcement.final IntegerThe maximum prefix length that the ASN is authorized to announce.final Stringprefix()The IP address prefix authorized by the ROA in CIDR notation.static Class<? extends IpamRouteOriginAuthorization.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
asn
The Autonomous System Number (ASN) authorized by the ROA.
- Returns:
- The Autonomous System Number (ASN) authorized by the ROA.
-
prefix
The IP address prefix authorized by the ROA in CIDR notation.
- Returns:
- The IP address prefix authorized by the ROA in CIDR notation.
-
maxLength
The maximum prefix length that the ASN is authorized to announce.
- Returns:
- The maximum prefix length that the ASN is authorized to announce.
-
match
Specifies whether the ROA matches the route announcement.
- Returns:
- Specifies whether the ROA matches the route announcement.
-
expiration
The expiration date of the ROA.
- Returns:
- The expiration date of the ROA.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpamRouteOriginAuthorization.Builder,IpamRouteOriginAuthorization>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-