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

com.amazonaws.services.appstream.model.Fleet Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon AppStream module holds the client classes that are used for communicating with Amazon AppStream.

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.appstream.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Contains the parameters for a fleet. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Fleet implements Serializable, Cloneable, StructuredPojo { /** *

* The ARN for the fleet. *

*/ private String arn; /** *

* The name of the fleet. *

*/ private String name; /** *

* The fleet name for display. *

*/ private String displayName; /** *

* The description for display. *

*/ private String description; /** *

* The name of the image used to create the fleet. *

*/ private String imageName; /** *

* The instance type to use when launching fleet instances. *

*/ private String instanceType; /** *

* The fleet type. *

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, * even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are charged for * instance streaming when users are connected and a small hourly fee for instances that are not streaming apps. *

*
*
*/ private String fleetType; /** *

* The capacity status for the fleet. *

*/ private ComputeCapacityStatus computeCapacityStatus; /** *

* The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. *

*/ private Integer maxUserDurationInSeconds; /** *

* The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. Specify a * value between 60 and 57600. *

*/ private Integer disconnectTimeoutInSeconds; /** *

* The current state for the fleet. *

*/ private String state; /** *

* The VPC configuration for the fleet. *

*/ private VpcConfig vpcConfig; /** *

* The time the fleet was created. *

*/ private java.util.Date createdTime; /** *

* The fleet errors. *

*/ private java.util.List fleetErrors; /** *

* Indicates whether default internet access is enabled for the fleet. *

*/ private Boolean enableDefaultInternetAccess; /** *

* The information needed to join a Microsoft Active Directory domain. *

*/ private DomainJoinInfo domainJoinInfo; /** *

* The ARN for the fleet. *

* * @param arn * The ARN for the fleet. */ public void setArn(String arn) { this.arn = arn; } /** *

* The ARN for the fleet. *

* * @return The ARN for the fleet. */ public String getArn() { return this.arn; } /** *

* The ARN for the fleet. *

* * @param arn * The ARN for the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withArn(String arn) { setArn(arn); return this; } /** *

* The name of the fleet. *

* * @param name * The name of the fleet. */ public void setName(String name) { this.name = name; } /** *

* The name of the fleet. *

* * @return The name of the fleet. */ public String getName() { return this.name; } /** *

* The name of the fleet. *

* * @param name * The name of the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withName(String name) { setName(name); return this; } /** *

* The fleet name for display. *

* * @param displayName * The fleet name for display. */ public void setDisplayName(String displayName) { this.displayName = displayName; } /** *

* The fleet name for display. *

* * @return The fleet name for display. */ public String getDisplayName() { return this.displayName; } /** *

* The fleet name for display. *

* * @param displayName * The fleet name for display. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withDisplayName(String displayName) { setDisplayName(displayName); return this; } /** *

* The description for display. *

* * @param description * The description for display. */ public void setDescription(String description) { this.description = description; } /** *

* The description for display. *

* * @return The description for display. */ public String getDescription() { return this.description; } /** *

* The description for display. *

* * @param description * The description for display. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withDescription(String description) { setDescription(description); return this; } /** *

* The name of the image used to create the fleet. *

* * @param imageName * The name of the image used to create the fleet. */ public void setImageName(String imageName) { this.imageName = imageName; } /** *

* The name of the image used to create the fleet. *

* * @return The name of the image used to create the fleet. */ public String getImageName() { return this.imageName; } /** *

* The name of the image used to create the fleet. *

* * @param imageName * The name of the image used to create the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withImageName(String imageName) { setImageName(imageName); return this; } /** *

* The instance type to use when launching fleet instances. *

* * @param instanceType * The instance type to use when launching fleet instances. */ public void setInstanceType(String instanceType) { this.instanceType = instanceType; } /** *

* The instance type to use when launching fleet instances. *

* * @return The instance type to use when launching fleet instances. */ public String getInstanceType() { return this.instanceType; } /** *

* The instance type to use when launching fleet instances. *

* * @param instanceType * The instance type to use when launching fleet instances. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withInstanceType(String instanceType) { setInstanceType(instanceType); return this; } /** *

* The fleet type. *

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, * even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are charged for * instance streaming when users are connected and a small hourly fee for instances that are not streaming apps. *

*
*
* * @param fleetType * The fleet type.

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your * fleet, even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are * charged for instance streaming when users are connected and a small hourly fee for instances that are not * streaming apps. *

*
* @see FleetType */ public void setFleetType(String fleetType) { this.fleetType = fleetType; } /** *

* The fleet type. *

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, * even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are charged for * instance streaming when users are connected and a small hourly fee for instances that are not streaming apps. *

*
*
* * @return The fleet type.

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your * fleet, even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are * charged for instance streaming when users are connected and a small hourly fee for instances that are not * streaming apps. *

*
* @see FleetType */ public String getFleetType() { return this.fleetType; } /** *

* The fleet type. *

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, * even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are charged for * instance streaming when users are connected and a small hourly fee for instances that are not streaming apps. *

*
*
* * @param fleetType * The fleet type.

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your * fleet, even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are * charged for instance streaming when users are connected and a small hourly fee for instances that are not * streaming apps. *

*
* @return Returns a reference to this object so that method calls can be chained together. * @see FleetType */ public Fleet withFleetType(String fleetType) { setFleetType(fleetType); return this; } /** *

* The fleet type. *

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, * even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are charged for * instance streaming when users are connected and a small hourly fee for instances that are not streaming apps. *

*
*
* * @param fleetType * The fleet type.

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your * fleet, even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are * charged for instance streaming when users are connected and a small hourly fee for instances that are not * streaming apps. *

*
* @see FleetType */ public void setFleetType(FleetType fleetType) { withFleetType(fleetType); } /** *

* The fleet type. *

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, * even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are charged for * instance streaming when users are connected and a small hourly fee for instances that are not streaming apps. *

*
*
* * @param fleetType * The fleet type.

*
*
ALWAYS_ON
*
*

* Provides users with instant-on access to their apps. You are charged for all running instances in your * fleet, even if no users are streaming apps. *

*
*
ON_DEMAND
*
*

* Provide users with access to applications after they connect, which takes one to two minutes. You are * charged for instance streaming when users are connected and a small hourly fee for instances that are not * streaming apps. *

*
* @return Returns a reference to this object so that method calls can be chained together. * @see FleetType */ public Fleet withFleetType(FleetType fleetType) { this.fleetType = fleetType.toString(); return this; } /** *

* The capacity status for the fleet. *

* * @param computeCapacityStatus * The capacity status for the fleet. */ public void setComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus) { this.computeCapacityStatus = computeCapacityStatus; } /** *

* The capacity status for the fleet. *

* * @return The capacity status for the fleet. */ public ComputeCapacityStatus getComputeCapacityStatus() { return this.computeCapacityStatus; } /** *

* The capacity status for the fleet. *

* * @param computeCapacityStatus * The capacity status for the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus) { setComputeCapacityStatus(computeCapacityStatus); return this; } /** *

* The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. *

* * @param maxUserDurationInSeconds * The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. */ public void setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds) { this.maxUserDurationInSeconds = maxUserDurationInSeconds; } /** *

* The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. *

* * @return The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. */ public Integer getMaxUserDurationInSeconds() { return this.maxUserDurationInSeconds; } /** *

* The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. *

* * @param maxUserDurationInSeconds * The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds) { setMaxUserDurationInSeconds(maxUserDurationInSeconds); return this; } /** *

* The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. Specify a * value between 60 and 57600. *

* * @param disconnectTimeoutInSeconds * The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. * Specify a value between 60 and 57600. */ public void setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds) { this.disconnectTimeoutInSeconds = disconnectTimeoutInSeconds; } /** *

* The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. Specify a * value between 60 and 57600. *

* * @return The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. * Specify a value between 60 and 57600. */ public Integer getDisconnectTimeoutInSeconds() { return this.disconnectTimeoutInSeconds; } /** *

* The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. Specify a * value between 60 and 57600. *

* * @param disconnectTimeoutInSeconds * The time after disconnection when a session is considered to have ended, in seconds. If a user who was * disconnected reconnects within this time interval, the user is connected to their previous session. * Specify a value between 60 and 57600. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds) { setDisconnectTimeoutInSeconds(disconnectTimeoutInSeconds); return this; } /** *

* The current state for the fleet. *

* * @param state * The current state for the fleet. * @see FleetState */ public void setState(String state) { this.state = state; } /** *

* The current state for the fleet. *

* * @return The current state for the fleet. * @see FleetState */ public String getState() { return this.state; } /** *

* The current state for the fleet. *

* * @param state * The current state for the fleet. * @return Returns a reference to this object so that method calls can be chained together. * @see FleetState */ public Fleet withState(String state) { setState(state); return this; } /** *

* The current state for the fleet. *

* * @param state * The current state for the fleet. * @see FleetState */ public void setState(FleetState state) { withState(state); } /** *

* The current state for the fleet. *

* * @param state * The current state for the fleet. * @return Returns a reference to this object so that method calls can be chained together. * @see FleetState */ public Fleet withState(FleetState state) { this.state = state.toString(); return this; } /** *

* The VPC configuration for the fleet. *

* * @param vpcConfig * The VPC configuration for the fleet. */ public void setVpcConfig(VpcConfig vpcConfig) { this.vpcConfig = vpcConfig; } /** *

* The VPC configuration for the fleet. *

* * @return The VPC configuration for the fleet. */ public VpcConfig getVpcConfig() { return this.vpcConfig; } /** *

* The VPC configuration for the fleet. *

* * @param vpcConfig * The VPC configuration for the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withVpcConfig(VpcConfig vpcConfig) { setVpcConfig(vpcConfig); return this; } /** *

* The time the fleet was created. *

* * @param createdTime * The time the fleet was created. */ public void setCreatedTime(java.util.Date createdTime) { this.createdTime = createdTime; } /** *

* The time the fleet was created. *

* * @return The time the fleet was created. */ public java.util.Date getCreatedTime() { return this.createdTime; } /** *

* The time the fleet was created. *

* * @param createdTime * The time the fleet was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withCreatedTime(java.util.Date createdTime) { setCreatedTime(createdTime); return this; } /** *

* The fleet errors. *

* * @return The fleet errors. */ public java.util.List getFleetErrors() { return fleetErrors; } /** *

* The fleet errors. *

* * @param fleetErrors * The fleet errors. */ public void setFleetErrors(java.util.Collection fleetErrors) { if (fleetErrors == null) { this.fleetErrors = null; return; } this.fleetErrors = new java.util.ArrayList(fleetErrors); } /** *

* The fleet errors. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setFleetErrors(java.util.Collection)} or {@link #withFleetErrors(java.util.Collection)} if you want to * override the existing values. *

* * @param fleetErrors * The fleet errors. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withFleetErrors(FleetError... fleetErrors) { if (this.fleetErrors == null) { setFleetErrors(new java.util.ArrayList(fleetErrors.length)); } for (FleetError ele : fleetErrors) { this.fleetErrors.add(ele); } return this; } /** *

* The fleet errors. *

* * @param fleetErrors * The fleet errors. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withFleetErrors(java.util.Collection fleetErrors) { setFleetErrors(fleetErrors); return this; } /** *

* Indicates whether default internet access is enabled for the fleet. *

* * @param enableDefaultInternetAccess * Indicates whether default internet access is enabled for the fleet. */ public void setEnableDefaultInternetAccess(Boolean enableDefaultInternetAccess) { this.enableDefaultInternetAccess = enableDefaultInternetAccess; } /** *

* Indicates whether default internet access is enabled for the fleet. *

* * @return Indicates whether default internet access is enabled for the fleet. */ public Boolean getEnableDefaultInternetAccess() { return this.enableDefaultInternetAccess; } /** *

* Indicates whether default internet access is enabled for the fleet. *

* * @param enableDefaultInternetAccess * Indicates whether default internet access is enabled for the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withEnableDefaultInternetAccess(Boolean enableDefaultInternetAccess) { setEnableDefaultInternetAccess(enableDefaultInternetAccess); return this; } /** *

* Indicates whether default internet access is enabled for the fleet. *

* * @return Indicates whether default internet access is enabled for the fleet. */ public Boolean isEnableDefaultInternetAccess() { return this.enableDefaultInternetAccess; } /** *

* The information needed to join a Microsoft Active Directory domain. *

* * @param domainJoinInfo * The information needed to join a Microsoft Active Directory domain. */ public void setDomainJoinInfo(DomainJoinInfo domainJoinInfo) { this.domainJoinInfo = domainJoinInfo; } /** *

* The information needed to join a Microsoft Active Directory domain. *

* * @return The information needed to join a Microsoft Active Directory domain. */ public DomainJoinInfo getDomainJoinInfo() { return this.domainJoinInfo; } /** *

* The information needed to join a Microsoft Active Directory domain. *

* * @param domainJoinInfo * The information needed to join a Microsoft Active Directory domain. * @return Returns a reference to this object so that method calls can be chained together. */ public Fleet withDomainJoinInfo(DomainJoinInfo domainJoinInfo) { setDomainJoinInfo(domainJoinInfo); return this; } /** * Returns a string representation of this object; useful for testing and debugging. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getDisplayName() != null) sb.append("DisplayName: ").append(getDisplayName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getImageName() != null) sb.append("ImageName: ").append(getImageName()).append(","); if (getInstanceType() != null) sb.append("InstanceType: ").append(getInstanceType()).append(","); if (getFleetType() != null) sb.append("FleetType: ").append(getFleetType()).append(","); if (getComputeCapacityStatus() != null) sb.append("ComputeCapacityStatus: ").append(getComputeCapacityStatus()).append(","); if (getMaxUserDurationInSeconds() != null) sb.append("MaxUserDurationInSeconds: ").append(getMaxUserDurationInSeconds()).append(","); if (getDisconnectTimeoutInSeconds() != null) sb.append("DisconnectTimeoutInSeconds: ").append(getDisconnectTimeoutInSeconds()).append(","); if (getState() != null) sb.append("State: ").append(getState()).append(","); if (getVpcConfig() != null) sb.append("VpcConfig: ").append(getVpcConfig()).append(","); if (getCreatedTime() != null) sb.append("CreatedTime: ").append(getCreatedTime()).append(","); if (getFleetErrors() != null) sb.append("FleetErrors: ").append(getFleetErrors()).append(","); if (getEnableDefaultInternetAccess() != null) sb.append("EnableDefaultInternetAccess: ").append(getEnableDefaultInternetAccess()).append(","); if (getDomainJoinInfo() != null) sb.append("DomainJoinInfo: ").append(getDomainJoinInfo()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Fleet == false) return false; Fleet other = (Fleet) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getDisplayName() == null ^ this.getDisplayName() == null) return false; if (other.getDisplayName() != null && other.getDisplayName().equals(this.getDisplayName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getImageName() == null ^ this.getImageName() == null) return false; if (other.getImageName() != null && other.getImageName().equals(this.getImageName()) == false) return false; if (other.getInstanceType() == null ^ this.getInstanceType() == null) return false; if (other.getInstanceType() != null && other.getInstanceType().equals(this.getInstanceType()) == false) return false; if (other.getFleetType() == null ^ this.getFleetType() == null) return false; if (other.getFleetType() != null && other.getFleetType().equals(this.getFleetType()) == false) return false; if (other.getComputeCapacityStatus() == null ^ this.getComputeCapacityStatus() == null) return false; if (other.getComputeCapacityStatus() != null && other.getComputeCapacityStatus().equals(this.getComputeCapacityStatus()) == false) return false; if (other.getMaxUserDurationInSeconds() == null ^ this.getMaxUserDurationInSeconds() == null) return false; if (other.getMaxUserDurationInSeconds() != null && other.getMaxUserDurationInSeconds().equals(this.getMaxUserDurationInSeconds()) == false) return false; if (other.getDisconnectTimeoutInSeconds() == null ^ this.getDisconnectTimeoutInSeconds() == null) return false; if (other.getDisconnectTimeoutInSeconds() != null && other.getDisconnectTimeoutInSeconds().equals(this.getDisconnectTimeoutInSeconds()) == false) return false; if (other.getState() == null ^ this.getState() == null) return false; if (other.getState() != null && other.getState().equals(this.getState()) == false) return false; if (other.getVpcConfig() == null ^ this.getVpcConfig() == null) return false; if (other.getVpcConfig() != null && other.getVpcConfig().equals(this.getVpcConfig()) == false) return false; if (other.getCreatedTime() == null ^ this.getCreatedTime() == null) return false; if (other.getCreatedTime() != null && other.getCreatedTime().equals(this.getCreatedTime()) == false) return false; if (other.getFleetErrors() == null ^ this.getFleetErrors() == null) return false; if (other.getFleetErrors() != null && other.getFleetErrors().equals(this.getFleetErrors()) == false) return false; if (other.getEnableDefaultInternetAccess() == null ^ this.getEnableDefaultInternetAccess() == null) return false; if (other.getEnableDefaultInternetAccess() != null && other.getEnableDefaultInternetAccess().equals(this.getEnableDefaultInternetAccess()) == false) return false; if (other.getDomainJoinInfo() == null ^ this.getDomainJoinInfo() == null) return false; if (other.getDomainJoinInfo() != null && other.getDomainJoinInfo().equals(this.getDomainJoinInfo()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDisplayName() == null) ? 0 : getDisplayName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getImageName() == null) ? 0 : getImageName().hashCode()); hashCode = prime * hashCode + ((getInstanceType() == null) ? 0 : getInstanceType().hashCode()); hashCode = prime * hashCode + ((getFleetType() == null) ? 0 : getFleetType().hashCode()); hashCode = prime * hashCode + ((getComputeCapacityStatus() == null) ? 0 : getComputeCapacityStatus().hashCode()); hashCode = prime * hashCode + ((getMaxUserDurationInSeconds() == null) ? 0 : getMaxUserDurationInSeconds().hashCode()); hashCode = prime * hashCode + ((getDisconnectTimeoutInSeconds() == null) ? 0 : getDisconnectTimeoutInSeconds().hashCode()); hashCode = prime * hashCode + ((getState() == null) ? 0 : getState().hashCode()); hashCode = prime * hashCode + ((getVpcConfig() == null) ? 0 : getVpcConfig().hashCode()); hashCode = prime * hashCode + ((getCreatedTime() == null) ? 0 : getCreatedTime().hashCode()); hashCode = prime * hashCode + ((getFleetErrors() == null) ? 0 : getFleetErrors().hashCode()); hashCode = prime * hashCode + ((getEnableDefaultInternetAccess() == null) ? 0 : getEnableDefaultInternetAccess().hashCode()); hashCode = prime * hashCode + ((getDomainJoinInfo() == null) ? 0 : getDomainJoinInfo().hashCode()); return hashCode; } @Override public Fleet clone() { try { return (Fleet) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.appstream.model.transform.FleetMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy