com.azure.resourcemanager.appplatform.models.BindingResourceProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appplatform Show documentation
Show all versions of azure-resourcemanager-appplatform Show documentation
This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appplatform.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/**
* Binding resource properties payload.
*/
@Fluent
public final class BindingResourceProperties {
/*
* The name of the bound resource
*/
@JsonProperty(value = "resourceName", access = JsonProperty.Access.WRITE_ONLY)
private String resourceName;
/*
* The standard Azure resource type of the bound resource
*/
@JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY)
private String resourceType;
/*
* The Azure resource id of the bound resource
*/
@JsonProperty(value = "resourceId")
private String resourceId;
/*
* The key of the bound resource
*/
@JsonProperty(value = "key")
private String key;
/*
* Binding parameters of the Binding resource
*/
@JsonProperty(value = "bindingParameters")
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map bindingParameters;
/*
* The generated Spring Boot property file for this binding. The secret will be deducted.
*/
@JsonProperty(value = "generatedProperties", access = JsonProperty.Access.WRITE_ONLY)
private String generatedProperties;
/*
* Creation time of the Binding resource
*/
@JsonProperty(value = "createdAt", access = JsonProperty.Access.WRITE_ONLY)
private String createdAt;
/*
* Update time of the Binding resource
*/
@JsonProperty(value = "updatedAt", access = JsonProperty.Access.WRITE_ONLY)
private String updatedAt;
/**
* Creates an instance of BindingResourceProperties class.
*/
public BindingResourceProperties() {
}
/**
* Get the resourceName property: The name of the bound resource.
*
* @return the resourceName value.
*/
public String resourceName() {
return this.resourceName;
}
/**
* Get the resourceType property: The standard Azure resource type of the bound resource.
*
* @return the resourceType value.
*/
public String resourceType() {
return this.resourceType;
}
/**
* Get the resourceId property: The Azure resource id of the bound resource.
*
* @return the resourceId value.
*/
public String resourceId() {
return this.resourceId;
}
/**
* Set the resourceId property: The Azure resource id of the bound resource.
*
* @param resourceId the resourceId value to set.
* @return the BindingResourceProperties object itself.
*/
public BindingResourceProperties withResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* Get the key property: The key of the bound resource.
*
* @return the key value.
*/
public String key() {
return this.key;
}
/**
* Set the key property: The key of the bound resource.
*
* @param key the key value to set.
* @return the BindingResourceProperties object itself.
*/
public BindingResourceProperties withKey(String key) {
this.key = key;
return this;
}
/**
* Get the bindingParameters property: Binding parameters of the Binding resource.
*
* @return the bindingParameters value.
*/
public Map bindingParameters() {
return this.bindingParameters;
}
/**
* Set the bindingParameters property: Binding parameters of the Binding resource.
*
* @param bindingParameters the bindingParameters value to set.
* @return the BindingResourceProperties object itself.
*/
public BindingResourceProperties withBindingParameters(Map bindingParameters) {
this.bindingParameters = bindingParameters;
return this;
}
/**
* Get the generatedProperties property: The generated Spring Boot property file for this binding. The secret will
* be deducted.
*
* @return the generatedProperties value.
*/
public String generatedProperties() {
return this.generatedProperties;
}
/**
* Get the createdAt property: Creation time of the Binding resource.
*
* @return the createdAt value.
*/
public String createdAt() {
return this.createdAt;
}
/**
* Get the updatedAt property: Update time of the Binding resource.
*
* @return the updatedAt value.
*/
public String updatedAt() {
return this.updatedAt;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}