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.model.implementation; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Updatable; import rx.Observable;
The base class for all updatable resource.
Type parameters:
  • <FluentModelT> – the fluent model type representing the creatable resource
  • <InnerModelT> – the model inner type that the fluent model type wraps
  • <FluentModelImplT> – the fluent model implementation type
/** * The base class for all updatable resource. * * @param <FluentModelT> the fluent model type representing the creatable resource * @param <InnerModelT> the model inner type that the fluent model type wraps * @param <FluentModelImplT> the fluent model implementation type */
public abstract class AppliableImpl< FluentModelT extends Indexable, InnerModelT, FluentModelImplT extends IndexableRefreshableWrapperImpl<FluentModelT, InnerModelT>> extends CreatableUpdatableImpl<FluentModelT, InnerModelT, FluentModelImplT> implements Updatable<FluentModelImplT>, Appliable<FluentModelT> {
Creates an AppliableImpl.
Params:
  • name – the appliable name
  • innerObject – the inner object
/** * Creates an AppliableImpl. * * @param name the appliable name * @param innerObject the inner object */
protected AppliableImpl(String name, InnerModelT innerObject) { super(name, innerObject); } @Override public final Observable<Indexable> createAsync() { throw new IllegalStateException("Internal Error: createAsync cannot be called from UpdatableImpl"); } @Override public final Observable<FluentModelT> createResourceAsync() { throw new IllegalStateException("Internal Error: createResourceAsync cannot be called from UpdatableImpl"); } @Override public abstract Observable<FluentModelT> updateResourceAsync(); }