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

com.amazonaws.services.rds.model.DownloadDBLogFilePortionResult Maven / Gradle / Ivy

Go to download

The AWS SDK for Java with support for OSGi. The AWS SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).

There is a newer version: 1.11.60
Show newest version
/*
 * Copyright 2011-2016 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.rds.model;

import java.io.Serializable;

/**
 * 

* This data type is used as a response element to * DownloadDBLogFilePortion. *

*/ public class DownloadDBLogFilePortionResult implements Serializable, Cloneable { /** *

* Entries from the specified log file. *

*/ private String logFileData; /** *

* A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. *

*/ private String marker; /** *

* Boolean value that if true, indicates there is more data to be * downloaded. *

*/ private Boolean additionalDataPending; /** *

* Entries from the specified log file. *

* * @param logFileData * Entries from the specified log file. */ public void setLogFileData(String logFileData) { this.logFileData = logFileData; } /** *

* Entries from the specified log file. *

* * @return Entries from the specified log file. */ public String getLogFileData() { return this.logFileData; } /** *

* Entries from the specified log file. *

* * @param logFileData * Entries from the specified log file. * @return Returns a reference to this object so that method calls can be * chained together. */ public DownloadDBLogFilePortionResult withLogFileData(String logFileData) { setLogFileData(logFileData); return this; } /** *

* A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. *

* * @param marker * A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. */ public void setMarker(String marker) { this.marker = marker; } /** *

* A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. *

* * @return A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. */ public String getMarker() { return this.marker; } /** *

* A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. *

* * @param marker * A pagination token that can be used in a subsequent * DownloadDBLogFilePortion request. * @return Returns a reference to this object so that method calls can be * chained together. */ public DownloadDBLogFilePortionResult withMarker(String marker) { setMarker(marker); return this; } /** *

* Boolean value that if true, indicates there is more data to be * downloaded. *

* * @param additionalDataPending * Boolean value that if true, indicates there is more data to be * downloaded. */ public void setAdditionalDataPending(Boolean additionalDataPending) { this.additionalDataPending = additionalDataPending; } /** *

* Boolean value that if true, indicates there is more data to be * downloaded. *

* * @return Boolean value that if true, indicates there is more data to be * downloaded. */ public Boolean getAdditionalDataPending() { return this.additionalDataPending; } /** *

* Boolean value that if true, indicates there is more data to be * downloaded. *

* * @param additionalDataPending * Boolean value that if true, indicates there is more data to be * downloaded. * @return Returns a reference to this object so that method calls can be * chained together. */ public DownloadDBLogFilePortionResult withAdditionalDataPending( Boolean additionalDataPending) { setAdditionalDataPending(additionalDataPending); return this; } /** *

* Boolean value that if true, indicates there is more data to be * downloaded. *

* * @return Boolean value that if true, indicates there is more data to be * downloaded. */ public Boolean isAdditionalDataPending() { return this.additionalDataPending; } /** * 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 (getLogFileData() != null) sb.append("LogFileData: " + getLogFileData() + ","); if (getMarker() != null) sb.append("Marker: " + getMarker() + ","); if (getAdditionalDataPending() != null) sb.append("AdditionalDataPending: " + getAdditionalDataPending()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DownloadDBLogFilePortionResult == false) return false; DownloadDBLogFilePortionResult other = (DownloadDBLogFilePortionResult) obj; if (other.getLogFileData() == null ^ this.getLogFileData() == null) return false; if (other.getLogFileData() != null && other.getLogFileData().equals(this.getLogFileData()) == false) return false; if (other.getMarker() == null ^ this.getMarker() == null) return false; if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false) return false; if (other.getAdditionalDataPending() == null ^ this.getAdditionalDataPending() == null) return false; if (other.getAdditionalDataPending() != null && other.getAdditionalDataPending().equals( this.getAdditionalDataPending()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getLogFileData() == null) ? 0 : getLogFileData().hashCode()); hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); hashCode = prime * hashCode + ((getAdditionalDataPending() == null) ? 0 : getAdditionalDataPending().hashCode()); return hashCode; } @Override public DownloadDBLogFilePortionResult clone() { try { return (DownloadDBLogFilePortionResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException( "Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy