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

com.amazonaws.services.groundstation.model.GetMinuteUsageResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Ground Station module holds the client classes that are used for communicating with AWS Ground Station Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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.groundstation.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 

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

* Estimated number of minutes remaining for an account, specific to the month being requested. *

*/ private Integer estimatedMinutesRemaining; /** *

* Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month * being requested. *

*/ private Boolean isReservedMinutesCustomer; /** *

* Total number of reserved minutes allocated, specific to the month being requested. *

*/ private Integer totalReservedMinuteAllocation; /** *

* Total scheduled minutes for an account, specific to the month being requested. *

*/ private Integer totalScheduledMinutes; /** *

* Upcoming minutes scheduled for an account, specific to the month being requested. *

*/ private Integer upcomingMinutesScheduled; /** *

* Estimated number of minutes remaining for an account, specific to the month being requested. *

* * @param estimatedMinutesRemaining * Estimated number of minutes remaining for an account, specific to the month being requested. */ public void setEstimatedMinutesRemaining(Integer estimatedMinutesRemaining) { this.estimatedMinutesRemaining = estimatedMinutesRemaining; } /** *

* Estimated number of minutes remaining for an account, specific to the month being requested. *

* * @return Estimated number of minutes remaining for an account, specific to the month being requested. */ public Integer getEstimatedMinutesRemaining() { return this.estimatedMinutesRemaining; } /** *

* Estimated number of minutes remaining for an account, specific to the month being requested. *

* * @param estimatedMinutesRemaining * Estimated number of minutes remaining for an account, specific to the month being requested. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMinuteUsageResult withEstimatedMinutesRemaining(Integer estimatedMinutesRemaining) { setEstimatedMinutesRemaining(estimatedMinutesRemaining); return this; } /** *

* Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month * being requested. *

* * @param isReservedMinutesCustomer * Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the * month being requested. */ public void setIsReservedMinutesCustomer(Boolean isReservedMinutesCustomer) { this.isReservedMinutesCustomer = isReservedMinutesCustomer; } /** *

* Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month * being requested. *

* * @return Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the * month being requested. */ public Boolean getIsReservedMinutesCustomer() { return this.isReservedMinutesCustomer; } /** *

* Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month * being requested. *

* * @param isReservedMinutesCustomer * Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the * month being requested. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMinuteUsageResult withIsReservedMinutesCustomer(Boolean isReservedMinutesCustomer) { setIsReservedMinutesCustomer(isReservedMinutesCustomer); return this; } /** *

* Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month * being requested. *

* * @return Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the * month being requested. */ public Boolean isReservedMinutesCustomer() { return this.isReservedMinutesCustomer; } /** *

* Total number of reserved minutes allocated, specific to the month being requested. *

* * @param totalReservedMinuteAllocation * Total number of reserved minutes allocated, specific to the month being requested. */ public void setTotalReservedMinuteAllocation(Integer totalReservedMinuteAllocation) { this.totalReservedMinuteAllocation = totalReservedMinuteAllocation; } /** *

* Total number of reserved minutes allocated, specific to the month being requested. *

* * @return Total number of reserved minutes allocated, specific to the month being requested. */ public Integer getTotalReservedMinuteAllocation() { return this.totalReservedMinuteAllocation; } /** *

* Total number of reserved minutes allocated, specific to the month being requested. *

* * @param totalReservedMinuteAllocation * Total number of reserved minutes allocated, specific to the month being requested. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMinuteUsageResult withTotalReservedMinuteAllocation(Integer totalReservedMinuteAllocation) { setTotalReservedMinuteAllocation(totalReservedMinuteAllocation); return this; } /** *

* Total scheduled minutes for an account, specific to the month being requested. *

* * @param totalScheduledMinutes * Total scheduled minutes for an account, specific to the month being requested. */ public void setTotalScheduledMinutes(Integer totalScheduledMinutes) { this.totalScheduledMinutes = totalScheduledMinutes; } /** *

* Total scheduled minutes for an account, specific to the month being requested. *

* * @return Total scheduled minutes for an account, specific to the month being requested. */ public Integer getTotalScheduledMinutes() { return this.totalScheduledMinutes; } /** *

* Total scheduled minutes for an account, specific to the month being requested. *

* * @param totalScheduledMinutes * Total scheduled minutes for an account, specific to the month being requested. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMinuteUsageResult withTotalScheduledMinutes(Integer totalScheduledMinutes) { setTotalScheduledMinutes(totalScheduledMinutes); return this; } /** *

* Upcoming minutes scheduled for an account, specific to the month being requested. *

* * @param upcomingMinutesScheduled * Upcoming minutes scheduled for an account, specific to the month being requested. */ public void setUpcomingMinutesScheduled(Integer upcomingMinutesScheduled) { this.upcomingMinutesScheduled = upcomingMinutesScheduled; } /** *

* Upcoming minutes scheduled for an account, specific to the month being requested. *

* * @return Upcoming minutes scheduled for an account, specific to the month being requested. */ public Integer getUpcomingMinutesScheduled() { return this.upcomingMinutesScheduled; } /** *

* Upcoming minutes scheduled for an account, specific to the month being requested. *

* * @param upcomingMinutesScheduled * Upcoming minutes scheduled for an account, specific to the month being requested. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMinuteUsageResult withUpcomingMinutesScheduled(Integer upcomingMinutesScheduled) { setUpcomingMinutesScheduled(upcomingMinutesScheduled); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getEstimatedMinutesRemaining() != null) sb.append("EstimatedMinutesRemaining: ").append(getEstimatedMinutesRemaining()).append(","); if (getIsReservedMinutesCustomer() != null) sb.append("IsReservedMinutesCustomer: ").append(getIsReservedMinutesCustomer()).append(","); if (getTotalReservedMinuteAllocation() != null) sb.append("TotalReservedMinuteAllocation: ").append(getTotalReservedMinuteAllocation()).append(","); if (getTotalScheduledMinutes() != null) sb.append("TotalScheduledMinutes: ").append(getTotalScheduledMinutes()).append(","); if (getUpcomingMinutesScheduled() != null) sb.append("UpcomingMinutesScheduled: ").append(getUpcomingMinutesScheduled()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetMinuteUsageResult == false) return false; GetMinuteUsageResult other = (GetMinuteUsageResult) obj; if (other.getEstimatedMinutesRemaining() == null ^ this.getEstimatedMinutesRemaining() == null) return false; if (other.getEstimatedMinutesRemaining() != null && other.getEstimatedMinutesRemaining().equals(this.getEstimatedMinutesRemaining()) == false) return false; if (other.getIsReservedMinutesCustomer() == null ^ this.getIsReservedMinutesCustomer() == null) return false; if (other.getIsReservedMinutesCustomer() != null && other.getIsReservedMinutesCustomer().equals(this.getIsReservedMinutesCustomer()) == false) return false; if (other.getTotalReservedMinuteAllocation() == null ^ this.getTotalReservedMinuteAllocation() == null) return false; if (other.getTotalReservedMinuteAllocation() != null && other.getTotalReservedMinuteAllocation().equals(this.getTotalReservedMinuteAllocation()) == false) return false; if (other.getTotalScheduledMinutes() == null ^ this.getTotalScheduledMinutes() == null) return false; if (other.getTotalScheduledMinutes() != null && other.getTotalScheduledMinutes().equals(this.getTotalScheduledMinutes()) == false) return false; if (other.getUpcomingMinutesScheduled() == null ^ this.getUpcomingMinutesScheduled() == null) return false; if (other.getUpcomingMinutesScheduled() != null && other.getUpcomingMinutesScheduled().equals(this.getUpcomingMinutesScheduled()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEstimatedMinutesRemaining() == null) ? 0 : getEstimatedMinutesRemaining().hashCode()); hashCode = prime * hashCode + ((getIsReservedMinutesCustomer() == null) ? 0 : getIsReservedMinutesCustomer().hashCode()); hashCode = prime * hashCode + ((getTotalReservedMinuteAllocation() == null) ? 0 : getTotalReservedMinuteAllocation().hashCode()); hashCode = prime * hashCode + ((getTotalScheduledMinutes() == null) ? 0 : getTotalScheduledMinutes().hashCode()); hashCode = prime * hashCode + ((getUpcomingMinutesScheduled() == null) ? 0 : getUpcomingMinutesScheduled().hashCode()); return hashCode; } @Override public GetMinuteUsageResult clone() { try { return (GetMinuteUsageResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy