-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f8362b
commit 810c9b2
Showing
6 changed files
with
34,655 additions
and
30,689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
// Copyright 2020 StrongDM Inc | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
// Code generated by protogen. DO NOT EDIT. | ||
|
||
package com.strongdm.api; | ||
|
||
/** | ||
* AuroraMysqlIAM is currently unstable, and its API may change, or it may be removed, without a | ||
* major version bump. | ||
*/ | ||
public class AuroraMysqlIAM implements Resource { | ||
private String bindInterface; | ||
/** | ||
* The bind interface is the IP address to which the port override of a resource is bound (for | ||
* example, 127.0.0.1). It is automatically generated if not provided. | ||
*/ | ||
public String getBindInterface() { | ||
return this.bindInterface; | ||
} | ||
/** | ||
* The bind interface is the IP address to which the port override of a resource is bound (for | ||
* example, 127.0.0.1). It is automatically generated if not provided. | ||
*/ | ||
public void setBindInterface(String in) { | ||
this.bindInterface = in; | ||
} | ||
|
||
private String database; | ||
/** The database for healthchecks. Does not affect client requests */ | ||
public String getDatabase() { | ||
return this.database; | ||
} | ||
/** The database for healthchecks. Does not affect client requests */ | ||
public void setDatabase(String in) { | ||
this.database = in; | ||
} | ||
|
||
private String egressFilter; | ||
/** A filter applied to the routing logic to pin datasource to nodes. */ | ||
public String getEgressFilter() { | ||
return this.egressFilter; | ||
} | ||
/** A filter applied to the routing logic to pin datasource to nodes. */ | ||
public void setEgressFilter(String in) { | ||
this.egressFilter = in; | ||
} | ||
|
||
private boolean healthy; | ||
/** True if the datasource is reachable and the credentials are valid. */ | ||
public boolean getHealthy() { | ||
return this.healthy; | ||
} | ||
/** True if the datasource is reachable and the credentials are valid. */ | ||
public void setHealthy(boolean in) { | ||
this.healthy = in; | ||
} | ||
|
||
private String hostname; | ||
/** The host to dial to initiate a connection from the egress node to this resource. */ | ||
public String getHostname() { | ||
return this.hostname; | ||
} | ||
/** The host to dial to initiate a connection from the egress node to this resource. */ | ||
public void setHostname(String in) { | ||
this.hostname = in; | ||
} | ||
|
||
private String id; | ||
/** Unique identifier of the Resource. */ | ||
public String getId() { | ||
return this.id; | ||
} | ||
/** Unique identifier of the Resource. */ | ||
public void setId(String in) { | ||
this.id = in; | ||
} | ||
|
||
private String name; | ||
/** Unique human-readable name of the Resource. */ | ||
public String getName() { | ||
return this.name; | ||
} | ||
/** Unique human-readable name of the Resource. */ | ||
public void setName(String in) { | ||
this.name = in; | ||
} | ||
|
||
private int port; | ||
/** The port to dial to initiate a connection from the egress node to this resource. */ | ||
public int getPort() { | ||
return this.port; | ||
} | ||
/** The port to dial to initiate a connection from the egress node to this resource. */ | ||
public void setPort(int in) { | ||
this.port = in; | ||
} | ||
|
||
private int portOverride; | ||
/** The local port used by clients to connect to this resource. */ | ||
public int getPortOverride() { | ||
return this.portOverride; | ||
} | ||
/** The local port used by clients to connect to this resource. */ | ||
public void setPortOverride(int in) { | ||
this.portOverride = in; | ||
} | ||
|
||
private String proxyClusterId; | ||
/** ID of the proxy cluster for this resource, if any. */ | ||
public String getProxyClusterId() { | ||
return this.proxyClusterId; | ||
} | ||
/** ID of the proxy cluster for this resource, if any. */ | ||
public void setProxyClusterId(String in) { | ||
this.proxyClusterId = in; | ||
} | ||
|
||
private String region; | ||
/** The AWS region to connect to. */ | ||
public String getRegion() { | ||
return this.region; | ||
} | ||
/** The AWS region to connect to. */ | ||
public void setRegion(String in) { | ||
this.region = in; | ||
} | ||
|
||
private String roleAssumptionArn; | ||
/** | ||
* If provided, the gateway/relay will try to assume this role instead of the underlying compute's | ||
* role. | ||
*/ | ||
public String getRoleAssumptionArn() { | ||
return this.roleAssumptionArn; | ||
} | ||
/** | ||
* If provided, the gateway/relay will try to assume this role instead of the underlying compute's | ||
* role. | ||
*/ | ||
public void setRoleAssumptionArn(String in) { | ||
this.roleAssumptionArn = in; | ||
} | ||
|
||
private String secretStoreId; | ||
/** ID of the secret store containing credentials for this resource, if any. */ | ||
public String getSecretStoreId() { | ||
return this.secretStoreId; | ||
} | ||
/** ID of the secret store containing credentials for this resource, if any. */ | ||
public void setSecretStoreId(String in) { | ||
this.secretStoreId = in; | ||
} | ||
|
||
private String subdomain; | ||
/** | ||
* Subdomain is the local DNS address. (e.g. app-prod1 turns into | ||
* app-prod1.your-org-name.sdm.network) | ||
*/ | ||
public String getSubdomain() { | ||
return this.subdomain; | ||
} | ||
/** | ||
* Subdomain is the local DNS address. (e.g. app-prod1 turns into | ||
* app-prod1.your-org-name.sdm.network) | ||
*/ | ||
public void setSubdomain(String in) { | ||
this.subdomain = in; | ||
} | ||
|
||
private java.util.Map<String, String> tags; | ||
/** Tags is a map of key, value pairs. */ | ||
public java.util.Map<String, String> getTags() { | ||
java.util.Map<String, String> m = new java.util.HashMap<String, String>(); | ||
if (this.tags != null) { | ||
m.putAll(this.tags); | ||
} | ||
return m; | ||
} | ||
/** Tags is a map of key, value pairs. */ | ||
public void setTags(java.util.Map<String, String> in) { | ||
if (in == null) { | ||
this.tags = null; | ||
return; | ||
} | ||
this.tags = new java.util.HashMap<String, String>(); | ||
this.tags.putAll(in); | ||
} | ||
|
||
private String username; | ||
/** The username to authenticate with. */ | ||
public String getUsername() { | ||
return this.username; | ||
} | ||
/** The username to authenticate with. */ | ||
public void setUsername(String in) { | ||
this.username = in; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.