|
| 1 | +/** |
| 2 | + * Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | + * Licensed under the MIT License. See License.txt in the project root for |
| 4 | + * license information. |
| 5 | + * |
| 6 | + * Code generated by Microsoft (R) AutoRest Code Generator. |
| 7 | + */ |
| 8 | + |
| 9 | +package com.microsoft.azure.management.netapp.v2019_08_01; |
| 10 | + |
| 11 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 12 | + |
| 13 | +/** |
| 14 | + * Mount target properties. |
| 15 | + */ |
| 16 | +public class MountTargetProperties { |
| 17 | + /** |
| 18 | + * mountTargetId. |
| 19 | + * UUID v4 used to identify the MountTarget. |
| 20 | + */ |
| 21 | + @JsonProperty(value = "mountTargetId", access = JsonProperty.Access.WRITE_ONLY) |
| 22 | + private String mountTargetId; |
| 23 | + |
| 24 | + /** |
| 25 | + * fileSystemId. |
| 26 | + * UUID v4 used to identify the MountTarget. |
| 27 | + */ |
| 28 | + @JsonProperty(value = "fileSystemId", required = true) |
| 29 | + private String fileSystemId; |
| 30 | + |
| 31 | + /** |
| 32 | + * ipAddress. |
| 33 | + * The mount target's IPv4 address. |
| 34 | + */ |
| 35 | + @JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY) |
| 36 | + private String ipAddress; |
| 37 | + |
| 38 | + /** |
| 39 | + * subnet. |
| 40 | + * The subnet. |
| 41 | + */ |
| 42 | + @JsonProperty(value = "subnet") |
| 43 | + private String subnet; |
| 44 | + |
| 45 | + /** |
| 46 | + * startIp. |
| 47 | + * The start of IPv4 address range to use when creating a new mount target. |
| 48 | + */ |
| 49 | + @JsonProperty(value = "startIp") |
| 50 | + private String startIp; |
| 51 | + |
| 52 | + /** |
| 53 | + * endIp. |
| 54 | + * The end of IPv4 address range to use when creating a new mount target. |
| 55 | + */ |
| 56 | + @JsonProperty(value = "endIp") |
| 57 | + private String endIp; |
| 58 | + |
| 59 | + /** |
| 60 | + * gateway. |
| 61 | + * The gateway of the IPv4 address range to use when creating a new mount |
| 62 | + * target. |
| 63 | + */ |
| 64 | + @JsonProperty(value = "gateway") |
| 65 | + private String gateway; |
| 66 | + |
| 67 | + /** |
| 68 | + * netmask. |
| 69 | + * The netmask of the IPv4 address range to use when creating a new mount |
| 70 | + * target. |
| 71 | + */ |
| 72 | + @JsonProperty(value = "netmask") |
| 73 | + private String netmask; |
| 74 | + |
| 75 | + /** |
| 76 | + * smbServerFQDN. |
| 77 | + * The SMB server's Fully Qualified Domain Name, FQDN. |
| 78 | + */ |
| 79 | + @JsonProperty(value = "smbServerFqdn") |
| 80 | + private String smbServerFqdn; |
| 81 | + |
| 82 | + /** |
| 83 | + * Azure lifecycle management. |
| 84 | + */ |
| 85 | + @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) |
| 86 | + private String provisioningState; |
| 87 | + |
| 88 | + /** |
| 89 | + * Get uUID v4 used to identify the MountTarget. |
| 90 | + * |
| 91 | + * @return the mountTargetId value |
| 92 | + */ |
| 93 | + public String mountTargetId() { |
| 94 | + return this.mountTargetId; |
| 95 | + } |
| 96 | + |
| 97 | + /** |
| 98 | + * Get uUID v4 used to identify the MountTarget. |
| 99 | + * |
| 100 | + * @return the fileSystemId value |
| 101 | + */ |
| 102 | + public String fileSystemId() { |
| 103 | + return this.fileSystemId; |
| 104 | + } |
| 105 | + |
| 106 | + /** |
| 107 | + * Set uUID v4 used to identify the MountTarget. |
| 108 | + * |
| 109 | + * @param fileSystemId the fileSystemId value to set |
| 110 | + * @return the MountTargetProperties object itself. |
| 111 | + */ |
| 112 | + public MountTargetProperties withFileSystemId(String fileSystemId) { |
| 113 | + this.fileSystemId = fileSystemId; |
| 114 | + return this; |
| 115 | + } |
| 116 | + |
| 117 | + /** |
| 118 | + * Get the mount target's IPv4 address. |
| 119 | + * |
| 120 | + * @return the ipAddress value |
| 121 | + */ |
| 122 | + public String ipAddress() { |
| 123 | + return this.ipAddress; |
| 124 | + } |
| 125 | + |
| 126 | + /** |
| 127 | + * Get the subnet. |
| 128 | + * |
| 129 | + * @return the subnet value |
| 130 | + */ |
| 131 | + public String subnet() { |
| 132 | + return this.subnet; |
| 133 | + } |
| 134 | + |
| 135 | + /** |
| 136 | + * Set the subnet. |
| 137 | + * |
| 138 | + * @param subnet the subnet value to set |
| 139 | + * @return the MountTargetProperties object itself. |
| 140 | + */ |
| 141 | + public MountTargetProperties withSubnet(String subnet) { |
| 142 | + this.subnet = subnet; |
| 143 | + return this; |
| 144 | + } |
| 145 | + |
| 146 | + /** |
| 147 | + * Get the start of IPv4 address range to use when creating a new mount target. |
| 148 | + * |
| 149 | + * @return the startIp value |
| 150 | + */ |
| 151 | + public String startIp() { |
| 152 | + return this.startIp; |
| 153 | + } |
| 154 | + |
| 155 | + /** |
| 156 | + * Set the start of IPv4 address range to use when creating a new mount target. |
| 157 | + * |
| 158 | + * @param startIp the startIp value to set |
| 159 | + * @return the MountTargetProperties object itself. |
| 160 | + */ |
| 161 | + public MountTargetProperties withStartIp(String startIp) { |
| 162 | + this.startIp = startIp; |
| 163 | + return this; |
| 164 | + } |
| 165 | + |
| 166 | + /** |
| 167 | + * Get the end of IPv4 address range to use when creating a new mount target. |
| 168 | + * |
| 169 | + * @return the endIp value |
| 170 | + */ |
| 171 | + public String endIp() { |
| 172 | + return this.endIp; |
| 173 | + } |
| 174 | + |
| 175 | + /** |
| 176 | + * Set the end of IPv4 address range to use when creating a new mount target. |
| 177 | + * |
| 178 | + * @param endIp the endIp value to set |
| 179 | + * @return the MountTargetProperties object itself. |
| 180 | + */ |
| 181 | + public MountTargetProperties withEndIp(String endIp) { |
| 182 | + this.endIp = endIp; |
| 183 | + return this; |
| 184 | + } |
| 185 | + |
| 186 | + /** |
| 187 | + * Get the gateway of the IPv4 address range to use when creating a new mount target. |
| 188 | + * |
| 189 | + * @return the gateway value |
| 190 | + */ |
| 191 | + public String gateway() { |
| 192 | + return this.gateway; |
| 193 | + } |
| 194 | + |
| 195 | + /** |
| 196 | + * Set the gateway of the IPv4 address range to use when creating a new mount target. |
| 197 | + * |
| 198 | + * @param gateway the gateway value to set |
| 199 | + * @return the MountTargetProperties object itself. |
| 200 | + */ |
| 201 | + public MountTargetProperties withGateway(String gateway) { |
| 202 | + this.gateway = gateway; |
| 203 | + return this; |
| 204 | + } |
| 205 | + |
| 206 | + /** |
| 207 | + * Get the netmask of the IPv4 address range to use when creating a new mount target. |
| 208 | + * |
| 209 | + * @return the netmask value |
| 210 | + */ |
| 211 | + public String netmask() { |
| 212 | + return this.netmask; |
| 213 | + } |
| 214 | + |
| 215 | + /** |
| 216 | + * Set the netmask of the IPv4 address range to use when creating a new mount target. |
| 217 | + * |
| 218 | + * @param netmask the netmask value to set |
| 219 | + * @return the MountTargetProperties object itself. |
| 220 | + */ |
| 221 | + public MountTargetProperties withNetmask(String netmask) { |
| 222 | + this.netmask = netmask; |
| 223 | + return this; |
| 224 | + } |
| 225 | + |
| 226 | + /** |
| 227 | + * Get the SMB server's Fully Qualified Domain Name, FQDN. |
| 228 | + * |
| 229 | + * @return the smbServerFqdn value |
| 230 | + */ |
| 231 | + public String smbServerFqdn() { |
| 232 | + return this.smbServerFqdn; |
| 233 | + } |
| 234 | + |
| 235 | + /** |
| 236 | + * Set the SMB server's Fully Qualified Domain Name, FQDN. |
| 237 | + * |
| 238 | + * @param smbServerFqdn the smbServerFqdn value to set |
| 239 | + * @return the MountTargetProperties object itself. |
| 240 | + */ |
| 241 | + public MountTargetProperties withSmbServerFqdn(String smbServerFqdn) { |
| 242 | + this.smbServerFqdn = smbServerFqdn; |
| 243 | + return this; |
| 244 | + } |
| 245 | + |
| 246 | + /** |
| 247 | + * Get azure lifecycle management. |
| 248 | + * |
| 249 | + * @return the provisioningState value |
| 250 | + */ |
| 251 | + public String provisioningState() { |
| 252 | + return this.provisioningState; |
| 253 | + } |
| 254 | + |
| 255 | +} |
0 commit comments