Class ResourceBinding
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.resource_controller.v2.model.ResourceBinding
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ResourceBinding extends com.ibm.cloud.sdk.core.service.model.GenericModelA resource binding.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccountId()Gets the accountId.java.util.DategetCreatedAt()Gets the createdAt.java.lang.StringgetCreatedBy()Gets the createdBy.CredentialsgetCredentials()Gets the credentials.java.lang.StringgetCrn()Gets the crn.java.util.DategetDeletedAt()Gets the deletedAt.java.lang.StringgetDeletedBy()Gets the deletedBy.java.lang.StringgetGuid()Gets the guid.java.lang.StringgetId()Gets the id.java.lang.StringgetName()Gets the name.java.lang.StringgetRegionBindingCrn()Gets the regionBindingCrn.java.lang.StringgetRegionBindingId()Gets the regionBindingId.java.lang.StringgetResourceAliasUrl()Gets the resourceAliasUrl.java.lang.StringgetResourceGroupId()Gets the resourceGroupId.java.lang.StringgetResourceId()Gets the resourceId.java.lang.StringgetSourceCrn()Gets the sourceCrn.java.lang.StringgetState()Gets the state.java.lang.StringgetTargetCrn()Gets the targetCrn.java.util.DategetUpdatedAt()Gets the updatedAt.java.lang.StringgetUpdatedBy()Gets the updatedBy.java.lang.StringgetUrl()Gets the url.java.lang.BooleanisIamCompatible()Gets the iamCompatible.java.lang.BooleanisMigrated()Gets the migrated.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id. The ID associated with the binding.- Returns:
- the id
-
getGuid
public java.lang.String getGuid()
Gets the guid. The GUID of the binding.- Returns:
- the guid
-
getUrl
public java.lang.String getUrl()
Gets the url. When you provision a new binding, a relative URL path is created identifying the location of the binding.- Returns:
- the url
-
getCreatedAt
public java.util.Date getCreatedAt()
Gets the createdAt. The date when the binding was created.- Returns:
- the createdAt
-
getUpdatedAt
public java.util.Date getUpdatedAt()
Gets the updatedAt. The date when the binding was last updated.- Returns:
- the updatedAt
-
getDeletedAt
public java.util.Date getDeletedAt()
Gets the deletedAt. The date when the binding was deleted.- Returns:
- the deletedAt
-
getCreatedBy
public java.lang.String getCreatedBy()
Gets the createdBy. The subject who created the binding.- Returns:
- the createdBy
-
getUpdatedBy
public java.lang.String getUpdatedBy()
Gets the updatedBy. The subject who updated the binding.- Returns:
- the updatedBy
-
getDeletedBy
public java.lang.String getDeletedBy()
Gets the deletedBy. The subject who deleted the binding.- Returns:
- the deletedBy
-
getSourceCrn
public java.lang.String getSourceCrn()
Gets the sourceCrn. The CRN of resource alias associated to the binding.- Returns:
- the sourceCrn
-
getTargetCrn
public java.lang.String getTargetCrn()
Gets the targetCrn. The CRN of target resource, for example, application, in a specific environment.- Returns:
- the targetCrn
-
getCrn
public java.lang.String getCrn()
Gets the crn. The full Cloud Resource Name (CRN) associated with the binding. For more information about this format, see [Cloud Resource Names](https://cloud.ibm.com/docs/overview?topic=overview-crn).- Returns:
- the crn
-
getRegionBindingId
public java.lang.String getRegionBindingId()
Gets the regionBindingId. The ID of the binding in the target environment. For example, `service_binding_id` in a given IBM Cloud environment.- Returns:
- the regionBindingId
-
getRegionBindingCrn
public java.lang.String getRegionBindingCrn()
Gets the regionBindingCrn. The CRN of the binding in the target environment.- Returns:
- the regionBindingCrn
-
getName
public java.lang.String getName()
Gets the name. The human-readable name of the binding.- Returns:
- the name
-
getAccountId
public java.lang.String getAccountId()
Gets the accountId. An alpha-numeric value identifying the account ID.- Returns:
- the accountId
-
getResourceGroupId
public java.lang.String getResourceGroupId()
Gets the resourceGroupId. The ID of the resource group.- Returns:
- the resourceGroupId
-
getState
public java.lang.String getState()
Gets the state. The state of the binding.- Returns:
- the state
-
getCredentials
public Credentials getCredentials()
Gets the credentials. The credentials for the binding. Additional key-value pairs are passed through from the resource brokers. After a credential is created for a service, it can be viewed at any time for users that need the API key value. However, all users must have the correct level of access to see the details of a credential that includes the API key value. For additional details, see [viewing a credential](https://cloud.ibm.com/docs/account?topic=account-service_credentials&interface=ui#viewing-credentials-ui) or the service’s documentation.- Returns:
- the credentials
-
isIamCompatible
public java.lang.Boolean isIamCompatible()
Gets the iamCompatible. Specifies whether the binding’s credentials support IAM.- Returns:
- the iamCompatible
-
getResourceId
public java.lang.String getResourceId()
Gets the resourceId. The unique ID of the offering. This value is provided by and stored in the global catalog.- Returns:
- the resourceId
-
isMigrated
public java.lang.Boolean isMigrated()
Gets the migrated. A boolean that dictates if the alias was migrated from a previous CF instance.- Returns:
- the migrated
-
getResourceAliasUrl
public java.lang.String getResourceAliasUrl()
Gets the resourceAliasUrl. The relative path to the resource alias that this binding is associated with.- Returns:
- the resourceAliasUrl
-
-