Class TrustedProfile
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.TrustedProfile
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TrustedProfile extends com.ibm.cloud.sdk.core.service.model.GenericModelResponse body format for trusted profile V1 REST requests.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccountId()Gets the accountId.ActivitygetActivity()Gets the activity.java.lang.StringgetAssignmentId()Gets the assignmentId.ResponseContextgetContext()Gets the context.java.util.DategetCreatedAt()Gets the createdAt.java.lang.StringgetCrn()Gets the crn.java.lang.StringgetDescription()Gets the description.java.lang.StringgetEmail()Gets the email.java.lang.StringgetEntityTag()Gets the entityTag.java.util.List<EnityHistoryRecord>getHistory()Gets the history.java.lang.StringgetIamId()Gets the iamId.java.lang.StringgetId()Gets the id.java.lang.LonggetImsAccountId()Gets the imsAccountId.java.lang.LonggetImsUserId()Gets the imsUserId.java.util.DategetModifiedAt()Gets the modifiedAt.java.lang.StringgetName()Gets the name.java.lang.StringgetTemplateId()Gets the templateId.
-
-
-
Method Detail
-
getContext
public ResponseContext getContext()
Gets the context. Context with key properties for problem determination.- Returns:
- the context
-
getId
public java.lang.String getId()
Gets the id. the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.- Returns:
- the id
-
getEntityTag
public java.lang.String getEntityTag()
Gets the entityTag. Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.- Returns:
- the entityTag
-
getCrn
public java.lang.String getCrn()
Gets the crn. Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.- Returns:
- the crn
-
getName
public java.lang.String getName()
Gets the name. Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.- Returns:
- the name
-
getDescription
public java.lang.String getDescription()
Gets the description. The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.- Returns:
- the description
-
getEmail
public java.lang.String getEmail()
Gets the email. The optional email of the trusted profile. The 'email' property is only available if an email was provided during a create of a trusted profile.- Returns:
- the email
-
getCreatedAt
public java.util.Date getCreatedAt()
Gets the createdAt. If set contains a date time string of the creation date in ISO format.- Returns:
- the createdAt
-
getModifiedAt
public java.util.Date getModifiedAt()
Gets the modifiedAt. If set contains a date time string of the last modification date in ISO format.- Returns:
- the modifiedAt
-
getIamId
public java.lang.String getIamId()
Gets the iamId. The iam_id of this trusted profile.- Returns:
- the iamId
-
getAccountId
public java.lang.String getAccountId()
Gets the accountId. ID of the account that this trusted profile belong to.- Returns:
- the accountId
-
getTemplateId
public java.lang.String getTemplateId()
Gets the templateId. ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.- Returns:
- the templateId
-
getAssignmentId
public java.lang.String getAssignmentId()
Gets the assignmentId. ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.- Returns:
- the assignmentId
-
getImsAccountId
public java.lang.Long getImsAccountId()
Gets the imsAccountId. IMS acount ID of the trusted profile.- Returns:
- the imsAccountId
-
getImsUserId
public java.lang.Long getImsUserId()
Gets the imsUserId. IMS user ID of the trusted profile.- Returns:
- the imsUserId
-
getHistory
public java.util.List<EnityHistoryRecord> getHistory()
Gets the history. History of the trusted profile.- Returns:
- the history
-
getActivity
public Activity getActivity()
Gets the activity.- Returns:
- the activity
-
-