MetadataItem Class
- java.
lang. Object - com.
microsoft. azure. management. batch. MetadataItem
- com.
public class MetadataItem
A name-value pair associated with a Batch service resource. The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
String |
value()
Get the value value. |
Metadata |
withName(String name)
Set the name value. |
Metadata |
withValue(String value)
Set the value value. |
Method Details
name
public String name()
Get the name value.
Returns:
the name value
value
public String value()
Get the value value.
Returns:
the value value
withName
public MetadataItem withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the MetadataItem object itself.
withValue
public MetadataItem withValue(String value)
Set the value value.
Parameters:
value
- the value value to set
Returns:
the MetadataItem object itself.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java