Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.arm.dag; import com.microsoft.azure.arm.model.Indexable; import java.util.Objects;
Represents an index-able model, when used as return type of a method, it indicates invocation of the method may cause side-effect but does not produce a value.
/** * Represents an index-able model, when used as return type of a method, * it indicates invocation of the method may cause side-effect but does * not produce a value. */
public final class VoidIndexable implements Indexable {
The key.
/** * The key. */
private final String key;
Creates VoidIndexable.
Params:
  • key – the key.
/** * Creates VoidIndexable. * * @param key the key. */
public VoidIndexable(String key) { Objects.requireNonNull(key); this.key = key; } @Override public String key() { return this.key; } }