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.GenericModel
Gateway AS Prepend object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AsPrepend.Policy
Route type this AS Prepend applies to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getId()
Gets the id.Long
getLength()
Gets the length.String
getPolicy()
Gets the policy.String
getPrefix()
Gets the prefix.List<String>
getSpecificPrefixes()
Gets the specificPrefixes.Date
getUpdatedAt()
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
-
getPrefix
public 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
-
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
-
-