public static class AttachInstanceRamRoleResponseBody.AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
code
Indicates whether the instance RAM role was attached.
|
String |
instanceId
The ID of the instance.
|
String |
message
Indicates whether the instance RAM role was attached.
|
Boolean |
success
Indicates whether the instance RAM role was attached.
|
构造器和说明 |
---|
AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult() |
@NameInMap(value="Code") public String code
Indicates whether the instance RAM role was attached. If the instance RAM role was attached, 200 is returned. If the instance RAM role failed to be attached, any other value is returned. For more information, see the "Error codes" section.
example:200
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance.
example:i-bp10ws62o04ubhvi****
@NameInMap(value="Message") public String message
Indicates whether the instance RAM role was attached. If the instance RAM role was attached, success is returned. If the instance RAM role failed to be attached, any other value is returned. For more information, see the "Error codes" section.
example:success
@NameInMap(value="Success") public Boolean success
Indicates whether the instance RAM role was attached.
example:true
public AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult()
public static AttachInstanceRamRoleResponseBody.AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult build(Map<String,?> map) throws Exception
Exception
public AttachInstanceRamRoleResponseBody.AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult setCode(String code)
public String getCode()
public AttachInstanceRamRoleResponseBody.AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult setInstanceId(String instanceId)
public String getInstanceId()
public AttachInstanceRamRoleResponseBody.AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult setMessage(String message)
public String getMessage()
public AttachInstanceRamRoleResponseBody.AttachInstanceRamRoleResponseBodyAttachInstanceRamRoleResultsAttachInstanceRamRoleResult setSuccess(Boolean success)
public Boolean getSuccess()
Copyright © 2024. All rights reserved.