Class AsPrependEntry
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.AsPrependEntry
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AsPrependEntry extends com.ibm.cloud.sdk.core.service.model.GenericModelAS Prepends API object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAsPrependEntry.PolicyRoute type this AS Prepend applies to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetId()Gets the id.LonggetLength()Gets the length.StringgetPolicy()Gets the policy.List<String>getSpecificPrefixes()Gets the specificPrefixes.DategetUpdatedAt()Gets the updatedAt.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time resource was created.- Returns:
- the createdAt
-
getId
public String getId()
Gets the id. The unique identifier for this AS Prepend.- Returns:
- the id
-
getLength
public Long getLength()
Gets the length. Number of times the ASN to appended to the AS Path.- Returns:
- the length
-
getPolicy
public String getPolicy()
Gets the policy. Route type this AS Prepend applies to.- Returns:
- the policy
-
getSpecificPrefixes
public List<String> getSpecificPrefixes()
Gets the specificPrefixes. Array of prefixes this AS Prepend applies to. This parameter is not returned when AS Prepend applies to all prefixes. Note that ordering is not significant and may differ from request order.- Returns:
- the specificPrefixes
-
getUpdatedAt
public Date getUpdatedAt()
Gets the updatedAt. The date and time resource was last updated.- Returns:
- the updatedAt
-
-