Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import org.joda.time.DateTime;
import java.util.List;
import com.microsoft.azure.management.network.TopologyResource;
import com.fasterxml.jackson.annotation.JsonProperty;
Topology of the specified resource group.
/**
* Topology of the specified resource group.
*/
public class TopologyInner {
GUID representing the operation id.
/**
* GUID representing the operation id.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
The datetime when the topology was initially created for the resource
group.
/**
* The datetime when the topology was initially created for the resource
* group.
*/
@JsonProperty(value = "createdDateTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime createdDateTime;
The datetime when the topology was last modified.
/**
* The datetime when the topology was last modified.
*/
@JsonProperty(value = "lastModified", access = JsonProperty.Access.WRITE_ONLY)
private DateTime lastModified;
A list of topology resources.
/**
* A list of topology resources.
*/
@JsonProperty(value = "resources")
private List<TopologyResource> resources;
Get gUID representing the operation id.
Returns: the id value
/**
* Get gUID representing the operation id.
*
* @return the id value
*/
public String id() {
return this.id;
}
Get the datetime when the topology was initially created for the resource group.
Returns: the createdDateTime value
/**
* Get the datetime when the topology was initially created for the resource group.
*
* @return the createdDateTime value
*/
public DateTime createdDateTime() {
return this.createdDateTime;
}
Get the datetime when the topology was last modified.
Returns: the lastModified value
/**
* Get the datetime when the topology was last modified.
*
* @return the lastModified value
*/
public DateTime lastModified() {
return this.lastModified;
}
Get a list of topology resources.
Returns: the resources value
/**
* Get a list of topology resources.
*
* @return the resources value
*/
public List<TopologyResource> resources() {
return this.resources;
}
Set a list of topology resources.
Params: - resources – the resources value to set
Returns: the TopologyInner object itself.
/**
* Set a list of topology resources.
*
* @param resources the resources value to set
* @return the TopologyInner object itself.
*/
public TopologyInner withResources(List<TopologyResource> resources) {
this.resources = resources;
return this;
}
}