All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudfoundry.client.lib.domain.CloudServiceKey Maven / Gradle / Ivy

The newest version!
package org.cloudfoundry.client.lib.domain;

import java.util.Map;

import org.cloudfoundry.client.lib.domain.annotation.Nullable;
import org.immutables.value.Value;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@Value.Immutable
@JsonSerialize(as = ImmutableCloudServiceKey.class)
@JsonDeserialize(as = ImmutableCloudServiceKey.class)
public abstract class CloudServiceKey extends CloudEntity implements Derivable {

    public abstract Map getCredentials();

    @Nullable
    public abstract CloudServiceInstance getServiceInstance();

    @Override
    public CloudServiceKey derive() {
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy