Class Resource
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.service.external.Resource
@ApiType("SoftLayer_Service_External_Resource") public class Resource extends Entity
The SoftLayer_Service_External_Resource is a placeholder that references a service being provided outside of the standard SoftLayer system.
- See Also:
- SoftLayer_Service_External_Resource
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Resource.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The customer account that is consuming the service.protected Long
accountId
The customer account that is consuming the related service.protected boolean
accountIdSpecified
protected String
externalIdentifier
The unique identifier in the service provider's system.protected boolean
externalIdentifierSpecified
protected Long
id
An external resource's unique identifier in the SoftLayer system.protected boolean
idSpecified
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
Modifier and Type Method Description Account
getAccount()
Long
getAccountId()
String
getExternalIdentifier()
Long
getId()
boolean
isAccountIdSpecified()
boolean
isExternalIdentifierSpecified()
boolean
isIdSpecified()
void
setAccount(Account account)
void
setAccountId(Long accountId)
void
setExternalIdentifier(String externalIdentifier)
void
setId(Long id)
void
unsetAccountId()
void
unsetExternalIdentifier()
void
unsetId()
-
Field Details
-
account
The customer account that is consuming the service. -
accountId
The customer account that is consuming the related service. -
accountIdSpecified
protected boolean accountIdSpecified -
externalIdentifier
The unique identifier in the service provider's system. -
externalIdentifierSpecified
protected boolean externalIdentifierSpecified -
id
An external resource's unique identifier in the SoftLayer system. -
idSpecified
protected boolean idSpecified
-
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
getAccount
-
setAccount
-
getAccountId
-
setAccountId
-
isAccountIdSpecified
public boolean isAccountIdSpecified() -
unsetAccountId
public void unsetAccountId() -
getExternalIdentifier
-
setExternalIdentifier
-
isExternalIdentifierSpecified
public boolean isExternalIdentifierSpecified() -
unsetExternalIdentifier
public void unsetExternalIdentifier() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId()
-