Package com.ibm.cloud.is.vpc.v1.model
Class ReservedIP
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ReservedIP
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ReservedIP extends com.ibm.cloud.sdk.core.service.model.GenericModelReservedIP.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservedIP.LifecycleStateThe lifecycle state of the reserved IP.static interfaceReservedIP.OwnerThe owner of the reserved IP.static interfaceReservedIP.ResourceTypeThe resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Gets the address.DategetCreatedAt()Gets the createdAt.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetLifecycleState()Gets the lifecycleState.StringgetName()Gets the name.StringgetOwner()Gets the owner.StringgetResourceType()Gets the resourceType.ReservedIPTargetgetTarget()Gets the target.BooleanisAutoDelete()Gets the autoDelete.
-
-
-
Method Detail
-
getAddress
public String getAddress()
Gets the address. The IP address. If the address has not yet been selected, the value will be `0.0.0.0`. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.- Returns:
- the address
-
isAutoDelete
public Boolean isAutoDelete()
Gets the autoDelete. Indicates whether this reserved IP member will be automatically deleted when either `target` is deleted, or the reserved IP is unbound.- Returns:
- the autoDelete
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the reserved IP was created.- Returns:
- the createdAt
-
getHref
public String getHref()
Gets the href. The URL for this reserved IP.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this reserved IP.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the reserved IP.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this reserved IP. The name is unique across all reserved IPs in a subnet.- Returns:
- the name
-
getOwner
public String getOwner()
Gets the owner. The owner of the reserved IP.- Returns:
- the owner
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getTarget
public ReservedIPTarget getTarget()
Gets the target. The target this reserved IP is bound to. If absent, this reserved IP is provider-owned or unbound.- Returns:
- the target
-
-