Class VmMetadata
- java.lang.Object
-
- odata.msgraph.client.security.complex.VmMetadata
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class VmMetadata extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVmMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description protected VmCloudProvidercloudProviderprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected StringresourceIdprotected StringsubscriptionIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringvmId
-
Constructor Summary
Constructors Modifier Constructor Description protectedVmMetadata()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VmMetadata.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<VmCloudProvider>getCloudProvider()Optional<String>getResourceId()Optional<String>getSubscriptionId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVmId()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VmMetadatawithCloudProvider(VmCloudProvider cloudProvider)VmMetadatawithResourceId(String resourceId)VmMetadatawithSubscriptionId(String subscriptionId)VmMetadatawithUnmappedField(String name, Object value)VmMetadatawithVmId(String vmId)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
cloudProvider
protected VmCloudProvider cloudProvider
-
resourceId
protected String resourceId
-
subscriptionId
protected String subscriptionId
-
vmId
protected String vmId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCloudProvider
public Optional<VmCloudProvider> getCloudProvider()
-
withCloudProvider
public VmMetadata withCloudProvider(VmCloudProvider cloudProvider)
-
withResourceId
public VmMetadata withResourceId(String resourceId)
-
withSubscriptionId
public VmMetadata withSubscriptionId(String subscriptionId)
-
withVmId
public VmMetadata withVmId(String vmId)
-
withUnmappedField
public VmMetadata withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static VmMetadata.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-