public static final class DescribeConfigMapResponseBody.Data.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeConfigMapResponseBody.Data |
build() |
DescribeConfigMapResponseBody.Data.Builder |
configMapId(Long configMapId)
The ID of the ConfigMap.
|
DescribeConfigMapResponseBody.Data.Builder |
createTime(Long createTime)
The time when the ConfigMap was created.
|
DescribeConfigMapResponseBody.Data.Builder |
data(Map<String,?> data)
The key-value pairs of the ConfigMap.
|
DescribeConfigMapResponseBody.Data.Builder |
description(String description)
The description of the ConfigMap.
|
DescribeConfigMapResponseBody.Data.Builder |
name(String name)
The name of the ConfigMap.
|
DescribeConfigMapResponseBody.Data.Builder |
namespaceId(String namespaceId)
The ID of the namespace.
|
DescribeConfigMapResponseBody.Data.Builder |
relateApps(List<DescribeConfigMapResponseBody.RelateApps> relateApps)
The application that is associated with the ConfigMap.
|
DescribeConfigMapResponseBody.Data.Builder |
updateTime(Long updateTime)
The time when the ConfigMap was updated.
|
public DescribeConfigMapResponseBody.Data.Builder configMapId(Long configMapId)
The ID of the ConfigMap.
example:1
public DescribeConfigMapResponseBody.Data.Builder createTime(Long createTime)
The time when the ConfigMap was created.
example:1593746835111
public DescribeConfigMapResponseBody.Data.Builder data(Map<String,?> data)
The key-value pairs of the ConfigMap. Format:
{"k1":"v1", "k2":"v2"}
k specifies a key and v specifies a value. For more information, see Manage a Kubernetes ConfigMap.
example:{"k1":"v1","k2":"v2"}
public DescribeConfigMapResponseBody.Data.Builder description(String description)
The description of the ConfigMap.
example:test-desc
public DescribeConfigMapResponseBody.Data.Builder name(String name)
The name of the ConfigMap.
example:test-configmap
public DescribeConfigMapResponseBody.Data.Builder namespaceId(String namespaceId)
The ID of the namespace.
example:cn-hangzhou
public DescribeConfigMapResponseBody.Data.Builder relateApps(List<DescribeConfigMapResponseBody.RelateApps> relateApps)
The application that is associated with the ConfigMap.
public DescribeConfigMapResponseBody.Data.Builder updateTime(Long updateTime)
The time when the ConfigMap was updated.
example:1593747274195
public DescribeConfigMapResponseBody.Data build()
Copyright © 2026. All rights reserved.