java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestInner

public final class RolloutRequestInner extends com.azure.core.management.Resource
Defines the PUT rollout request body.
  • Constructor Details

    • RolloutRequestInner

      public RolloutRequestInner()
      Creates an instance of RolloutRequestInner class.
  • Method Details

    • identity

      public Identity identity()
      Get the identity property: Identity for the resource.
      Returns:
      the identity value.
    • withIdentity

      public RolloutRequestInner withIdentity(Identity identity)
      Set the identity property: Identity for the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the RolloutRequestInner object itself.
    • withLocation

      public RolloutRequestInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public RolloutRequestInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • buildVersion

      public String buildVersion()
      Get the buildVersion property: The version of the build being deployed.
      Returns:
      the buildVersion value.
    • withBuildVersion

      public RolloutRequestInner withBuildVersion(String buildVersion)
      Set the buildVersion property: The version of the build being deployed.
      Parameters:
      buildVersion - the buildVersion value to set.
      Returns:
      the RolloutRequestInner object itself.
    • artifactSourceId

      public String artifactSourceId()
      Get the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.
      Returns:
      the artifactSourceId value.
    • withArtifactSourceId

      public RolloutRequestInner withArtifactSourceId(String artifactSourceId)
      Set the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.
      Parameters:
      artifactSourceId - the artifactSourceId value to set.
      Returns:
      the RolloutRequestInner object itself.
    • targetServiceTopologyId

      public String targetServiceTopologyId()
      Get the targetServiceTopologyId property: The resource Id of the service topology from which service units are being referenced in step groups to be deployed.
      Returns:
      the targetServiceTopologyId value.
    • withTargetServiceTopologyId

      public RolloutRequestInner withTargetServiceTopologyId(String targetServiceTopologyId)
      Set the targetServiceTopologyId property: The resource Id of the service topology from which service units are being referenced in step groups to be deployed.
      Parameters:
      targetServiceTopologyId - the targetServiceTopologyId value to set.
      Returns:
      the RolloutRequestInner object itself.
    • stepGroups

      public List<StepGroup> stepGroups()
      Get the stepGroups property: The list of step groups that define the orchestration.
      Returns:
      the stepGroups value.
    • withStepGroups

      public RolloutRequestInner withStepGroups(List<StepGroup> stepGroups)
      Set the stepGroups property: The list of step groups that define the orchestration.
      Parameters:
      stepGroups - the stepGroups value to set.
      Returns:
      the RolloutRequestInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.