com.amazonaws.services.redshift.model
Class DescribeLoggingStatusResult

java.lang.Object
  extended by com.amazonaws.services.redshift.model.DescribeLoggingStatusResult
All Implemented Interfaces:
Serializable

public class DescribeLoggingStatusResult
extends Object
implements Serializable

Describes the status of logging for a cluster.

See Also:
Serialized Form

Constructor Summary
DescribeLoggingStatusResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBucketName()
          The name of the S3 bucket where the log files are stored.
 String getLastFailureMessage()
          The message indicating that logs failed to be delivered.
 Date getLastFailureTime()
          The last time when logs failed to be delivered.
 Date getLastSuccessfulDeliveryTime()
          The last time when logs were delivered.
 Boolean getLoggingEnabled()
          true if logging is on, false if logging is off.
 String getS3KeyPrefix()
          The prefix applied to the log file names.
 int hashCode()
           
 Boolean isLoggingEnabled()
          true if logging is on, false if logging is off.
 void setBucketName(String bucketName)
          The name of the S3 bucket where the log files are stored.
 void setLastFailureMessage(String lastFailureMessage)
          The message indicating that logs failed to be delivered.
 void setLastFailureTime(Date lastFailureTime)
          The last time when logs failed to be delivered.
 void setLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
          The last time when logs were delivered.
 void setLoggingEnabled(Boolean loggingEnabled)
          true if logging is on, false if logging is off.
 void setS3KeyPrefix(String s3KeyPrefix)
          The prefix applied to the log file names.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLoggingStatusResult withBucketName(String bucketName)
          The name of the S3 bucket where the log files are stored.
 DescribeLoggingStatusResult withLastFailureMessage(String lastFailureMessage)
          The message indicating that logs failed to be delivered.
 DescribeLoggingStatusResult withLastFailureTime(Date lastFailureTime)
          The last time when logs failed to be delivered.
 DescribeLoggingStatusResult withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
          The last time when logs were delivered.
 DescribeLoggingStatusResult withLoggingEnabled(Boolean loggingEnabled)
          true if logging is on, false if logging is off.
 DescribeLoggingStatusResult withS3KeyPrefix(String s3KeyPrefix)
          The prefix applied to the log file names.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeLoggingStatusResult

public DescribeLoggingStatusResult()
Method Detail

isLoggingEnabled

public Boolean isLoggingEnabled()
true if logging is on, false if logging is off.

Returns:
true if logging is on, false if logging is off.

setLoggingEnabled

public void setLoggingEnabled(Boolean loggingEnabled)
true if logging is on, false if logging is off.

Parameters:
loggingEnabled - true if logging is on, false if logging is off.

withLoggingEnabled

public DescribeLoggingStatusResult withLoggingEnabled(Boolean loggingEnabled)
true if logging is on, false if logging is off.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loggingEnabled - true if logging is on, false if logging is off.
Returns:
A reference to this updated object so that method calls can be chained together.

getLoggingEnabled

public Boolean getLoggingEnabled()
true if logging is on, false if logging is off.

Returns:
true if logging is on, false if logging is off.

getBucketName

public String getBucketName()
The name of the S3 bucket where the log files are stored.

Returns:
The name of the S3 bucket where the log files are stored.

setBucketName

public void setBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.

Parameters:
bucketName - The name of the S3 bucket where the log files are stored.

withBucketName

public DescribeLoggingStatusResult withBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bucketName - The name of the S3 bucket where the log files are stored.
Returns:
A reference to this updated object so that method calls can be chained together.

getS3KeyPrefix

public String getS3KeyPrefix()
The prefix applied to the log file names.

Returns:
The prefix applied to the log file names.

setS3KeyPrefix

public void setS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.

Parameters:
s3KeyPrefix - The prefix applied to the log file names.

withS3KeyPrefix

public DescribeLoggingStatusResult withS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.

Returns a reference to this object so that method calls can be chained together.

Parameters:
s3KeyPrefix - The prefix applied to the log file names.
Returns:
A reference to this updated object so that method calls can be chained together.

getLastSuccessfulDeliveryTime

public Date getLastSuccessfulDeliveryTime()
The last time when logs were delivered.

Returns:
The last time when logs were delivered.

setLastSuccessfulDeliveryTime

public void setLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time when logs were delivered.

Parameters:
lastSuccessfulDeliveryTime - The last time when logs were delivered.

withLastSuccessfulDeliveryTime

public DescribeLoggingStatusResult withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time when logs were delivered.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastSuccessfulDeliveryTime - The last time when logs were delivered.
Returns:
A reference to this updated object so that method calls can be chained together.

getLastFailureTime

public Date getLastFailureTime()
The last time when logs failed to be delivered.

Returns:
The last time when logs failed to be delivered.

setLastFailureTime

public void setLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.

Parameters:
lastFailureTime - The last time when logs failed to be delivered.

withLastFailureTime

public DescribeLoggingStatusResult withLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastFailureTime - The last time when logs failed to be delivered.
Returns:
A reference to this updated object so that method calls can be chained together.

getLastFailureMessage

public String getLastFailureMessage()
The message indicating that logs failed to be delivered.

Returns:
The message indicating that logs failed to be delivered.

setLastFailureMessage

public void setLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.

Parameters:
lastFailureMessage - The message indicating that logs failed to be delivered.

withLastFailureMessage

public DescribeLoggingStatusResult withLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastFailureMessage - The message indicating that logs failed to be delivered.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.