All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.PerInstanceConfig.html Maven / Gradle / Ivy







PerInstanceConfig (Compute Engine API beta-rev20220312-1.32.1)












com.google.api.services.compute.model

Class PerInstanceConfig

    • Constructor Detail

      • PerInstanceConfig

        public PerInstanceConfig()
    • Method Detail

      • getFingerprint

        public String getFingerprint()
        Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance config or the field needs to be unset.
        Returns:
        value or null for none
        See Also:
        decodeFingerprint()
      • decodeFingerprint

        public byte[] decodeFingerprint()
        Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance config or the field needs to be unset.
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getFingerprint()
      • setFingerprint

        public PerInstanceConfig setFingerprint(String fingerprint)
        Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance config or the field needs to be unset.
        Parameters:
        fingerprint - fingerprint or null for none
        See Also:
        #encodeFingerprint()
      • encodeFingerprint

        public PerInstanceConfig encodeFingerprint(byte[] fingerprint)
        Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance config or the field needs to be unset.
        Since:
        1.14
        See Also:

        The value is encoded Base64 or {@code null} for none.

      • getName

        public String getName()
        The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance config for a VM instance that either doesn't exist or is not part of the group will result in an error.
        Returns:
        value or null for none
      • setName

        public PerInstanceConfig setName(String name)
        The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance config for a VM instance that either doesn't exist or is not part of the group will result in an error.
        Parameters:
        name - name or null for none
      • getPreservedState

        public PreservedState getPreservedState()
        The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
        Returns:
        value or null for none
      • setPreservedState

        public PerInstanceConfig setPreservedState(PreservedState preservedState)
        The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
        Parameters:
        preservedState - preservedState or null for none
      • getStatus

        public String getStatus()
        The status of applying this per-instance config on the corresponding managed instance.
        Returns:
        value or null for none
      • setStatus

        public PerInstanceConfig setStatus(String status)
        The status of applying this per-instance config on the corresponding managed instance.
        Parameters:
        status - status or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy