Class AsPrepend
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.model.GenericModel
- 
- com.ibm.cloud.networking.direct_link.v1.model.AsPrepend
 
 
- 
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
 
 public class AsPrepend extends com.ibm.cloud.sdk.core.service.model.GenericModelGateway AS Prepend object.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceAsPrepend.PolicyRoute type this AS Prepend applies to.
 - 
Method SummaryAll 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.StringgetPrefix()Gets the prefix.List<String>getSpecificPrefixes()Gets the specificPrefixes.DategetUpdatedAt()Gets the updatedAt.
 
- 
- 
- 
Method Detail- 
getCreatedAtpublic Date getCreatedAt() Gets the createdAt. The date and time resource was created.- Returns:
- the createdAt
 
 - 
getIdpublic String getId() Gets the id. The unique identifier for this AS Prepend.- Returns:
- the id
 
 - 
getLengthpublic Long getLength() Gets the length. Number of times the ASN to appended to the AS Path.- Returns:
- the length
 
 - 
getPolicypublic String getPolicy() Gets the policy. Route type this AS Prepend applies to.- Returns:
- the policy
 
 - 
getPrefixpublic String getPrefix() Gets the prefix. Comma separated list of prefixes this AS Prepend applies to. If empty, this applies to all prefixes.- Returns:
- the prefix
 
 - 
getSpecificPrefixespublic 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
 
 - 
getUpdatedAtpublic Date getUpdatedAt() Gets the updatedAt. The date and time resource was last updated.- Returns:
- the updatedAt
 
 
- 
 
-