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) Indicates whether some other object is "equal to" this one by SDK fields.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> 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
-
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
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<IpamRouteOriginAuthorization.Builder,IpamRouteOriginAuthorization> - 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.
-