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

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

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

import java.util.Map;
import java.util.UUID;

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 = ImmutableCloudServiceBinding.class)
@JsonDeserialize(as = ImmutableCloudServiceBinding.class)
public abstract class CloudServiceBinding extends CloudEntity implements Derivable {

    public abstract UUID getApplicationGuid();

    @Nullable
    public abstract Map getBindingOptions();

    @Nullable
    public abstract Map getCredentials();

    @Nullable
    public abstract String getSyslogDrainUrl();

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy