@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLabelsPayload extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateLabelsPayload.Builder,UpdateLabelsPayload>
An object representing a Kubernetes label change for a managed node group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLabelsPayload.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
addOrUpdateLabels()
Kubernetes labels to be added or updated.
|
static UpdateLabelsPayload.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAddOrUpdateLabels()
Returns true if the AddOrUpdateLabels property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRemoveLabels()
Returns true if the RemoveLabels property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
removeLabels()
Kubernetes labels to be removed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateLabelsPayload.Builder> |
serializableBuilderClass() |
UpdateLabelsPayload.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAddOrUpdateLabels()
public final Map<String,String> addOrUpdateLabels()
Kubernetes labels to be added or updated.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAddOrUpdateLabels() to see if a value was sent in this field.
public final boolean hasRemoveLabels()
public final List<String> removeLabels()
Kubernetes labels to be removed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemoveLabels() to see if a value was sent in this field.
public UpdateLabelsPayload.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLabelsPayload.Builder,UpdateLabelsPayload>public static UpdateLabelsPayload.Builder builder()
public static Class<? extends UpdateLabelsPayload.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.