Class GetCallerIdentityResponse

    • Constructor Detail

      • GetCallerIdentityResponse

        public GetCallerIdentityResponse()
      • GetCallerIdentityResponse

        public GetCallerIdentityResponse​(GetCallerIdentityResponse source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getArn

        public String getArn()
        Get 当前调用者ARN。
        Returns:
        Arn 当前调用者ARN。
      • setArn

        public void setArn​(String Arn)
        Set 当前调用者ARN。
        Parameters:
        Arn - 当前调用者ARN。
      • getAccountId

        public String getAccountId()
        Get 当前调用者所属主账号Uin。
        Returns:
        AccountId 当前调用者所属主账号Uin。
      • setAccountId

        public void setAccountId​(String AccountId)
        Set 当前调用者所属主账号Uin。
        Parameters:
        AccountId - 当前调用者所属主账号Uin。
      • getUserId

        public String getUserId()
        Get 身份标识。 1. 调用者是云账号时,返回的是当前账号Uin 2. 调用者是角色时,返回的是roleId:roleSessionName 3. 调用者是联合身份时,返回的是uin:federatedUserName
        Returns:
        UserId 身份标识。 1. 调用者是云账号时,返回的是当前账号Uin 2. 调用者是角色时,返回的是roleId:roleSessionName 3. 调用者是联合身份时,返回的是uin:federatedUserName
      • setUserId

        public void setUserId​(String UserId)
        Set 身份标识。 1. 调用者是云账号时,返回的是当前账号Uin 2. 调用者是角色时,返回的是roleId:roleSessionName 3. 调用者是联合身份时,返回的是uin:federatedUserName
        Parameters:
        UserId - 身份标识。 1. 调用者是云账号时,返回的是当前账号Uin 2. 调用者是角色时,返回的是roleId:roleSessionName 3. 调用者是联合身份时,返回的是uin:federatedUserName
      • getPrincipalId

        public String getPrincipalId()
        Get 密钥所属账号Uin。 1. 调用者是云账号,返回的当前账号Uin 2, 调用者是角色,返回的申请角色密钥的账号Uin
        Returns:
        PrincipalId 密钥所属账号Uin。 1. 调用者是云账号,返回的当前账号Uin 2, 调用者是角色,返回的申请角色密钥的账号Uin
      • setPrincipalId

        public void setPrincipalId​(String PrincipalId)
        Set 密钥所属账号Uin。 1. 调用者是云账号,返回的当前账号Uin 2, 调用者是角色,返回的申请角色密钥的账号Uin
        Parameters:
        PrincipalId - 密钥所属账号Uin。 1. 调用者是云账号,返回的当前账号Uin 2, 调用者是角色,返回的申请角色密钥的账号Uin
      • getType

        public String getType()
        Get 身份类型。
        Returns:
        Type 身份类型。
      • setType

        public void setType​(String Type)
        Set 身份类型。
        Parameters:
        Type - 身份类型。
      • getRequestId

        public String getRequestId()
        Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
        Returns:
        RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
      • setRequestId

        public void setRequestId​(String RequestId)
        Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
        Parameters:
        RequestId - 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。