Class ResourceKey
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.resource_controller.v2.model.ResourceKey
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ResourceKey extends com.ibm.cloud.sdk.core.service.model.GenericModelA resource key.
-
-
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.StringgetResourceAliasUrl()Gets the resourceAliasUrl.java.lang.StringgetResourceGroupId()Gets the resourceGroupId.java.lang.StringgetResourceId()Gets the resourceId.java.lang.StringgetResourceInstanceUrl()Gets the resourceInstanceUrl.java.lang.StringgetSourceCrn()Gets the sourceCrn.java.lang.StringgetState()Gets the state.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 key.- Returns:
- the id
-
getGuid
public java.lang.String getGuid()
Gets the guid. The GUID of the key.- Returns:
- the guid
-
getUrl
public java.lang.String getUrl()
Gets the url. When you created a new key, a relative URL path is created identifying the location of the key.- Returns:
- the url
-
getCreatedAt
public java.util.Date getCreatedAt()
Gets the createdAt. The date when the key was created.- Returns:
- the createdAt
-
getUpdatedAt
public java.util.Date getUpdatedAt()
Gets the updatedAt. The date when the key was last updated.- Returns:
- the updatedAt
-
getDeletedAt
public java.util.Date getDeletedAt()
Gets the deletedAt. The date when the key was deleted.- Returns:
- the deletedAt
-
getCreatedBy
public java.lang.String getCreatedBy()
Gets the createdBy. The subject who created the key.- Returns:
- the createdBy
-
getUpdatedBy
public java.lang.String getUpdatedBy()
Gets the updatedBy. The subject who updated the key.- Returns:
- the updatedBy
-
getDeletedBy
public java.lang.String getDeletedBy()
Gets the deletedBy. The subject who deleted the key.- Returns:
- the deletedBy
-
getSourceCrn
public java.lang.String getSourceCrn()
Gets the sourceCrn. The CRN of resource instance or alias associated to the key.- Returns:
- the sourceCrn
-
getName
public java.lang.String getName()
Gets the name. The human-readable name of the key.- Returns:
- the name
-
getCrn
public java.lang.String getCrn()
Gets the crn. The full Cloud Resource Name (CRN) associated with the key. For more information about this format, see [Cloud Resource Names](https://cloud.ibm.com/docs/overview?topic=overview-crn).- Returns:
- the crn
-
getState
public java.lang.String getState()
Gets the state. The state of the key.- Returns:
- the state
-
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
-
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
-
getCredentials
public Credentials getCredentials()
Gets the credentials. The credentials for the key. 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 key’s credentials support IAM.- Returns:
- the iamCompatible
-
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
-
getResourceInstanceUrl
public java.lang.String getResourceInstanceUrl()
Gets the resourceInstanceUrl. The relative path to the resource.- Returns:
- the resourceInstanceUrl
-
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
-
-