Class DestinationDescription
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.DestinationDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DestinationDescription extends Object implements Serializable, Cloneable
Describes the destination for a delivery stream.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DestinationDescription()
-
Method Summary
-
-
-
Method Detail
-
setDestinationId
public void setDestinationId(String destinationId)
The ID of the destination.
- Parameters:
destinationId
- The ID of the destination.
-
getDestinationId
public String getDestinationId()
The ID of the destination.
- Returns:
- The ID of the destination.
-
withDestinationId
public DestinationDescription withDestinationId(String destinationId)
The ID of the destination.
- Parameters:
destinationId
- The ID of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3DestinationDescription
public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
- Parameters:
s3DestinationDescription
- The Amazon S3 destination.
-
getS3DestinationDescription
public S3DestinationDescription getS3DestinationDescription()
The Amazon S3 destination.
- Returns:
- The Amazon S3 destination.
-
withS3DestinationDescription
public DestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
- Parameters:
s3DestinationDescription
- The Amazon S3 destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRedshiftDestinationDescription
public void setRedshiftDestinationDescription(RedshiftDestinationDescription redshiftDestinationDescription)
The destination in Amazon Redshift.
- Parameters:
redshiftDestinationDescription
- The destination in Amazon Redshift.
-
getRedshiftDestinationDescription
public RedshiftDestinationDescription getRedshiftDestinationDescription()
The destination in Amazon Redshift.
- Returns:
- The destination in Amazon Redshift.
-
withRedshiftDestinationDescription
public DestinationDescription withRedshiftDestinationDescription(RedshiftDestinationDescription redshiftDestinationDescription)
The destination in Amazon Redshift.
- Parameters:
redshiftDestinationDescription
- The destination in Amazon Redshift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setElasticsearchDestinationDescription
public void setElasticsearchDestinationDescription(ElasticsearchDestinationDescription elasticsearchDestinationDescription)
The destination in Amazon ES.
- Parameters:
elasticsearchDestinationDescription
- The destination in Amazon ES.
-
getElasticsearchDestinationDescription
public ElasticsearchDestinationDescription getElasticsearchDestinationDescription()
The destination in Amazon ES.
- Returns:
- The destination in Amazon ES.
-
withElasticsearchDestinationDescription
public DestinationDescription withElasticsearchDestinationDescription(ElasticsearchDestinationDescription elasticsearchDestinationDescription)
The destination in Amazon ES.
- Parameters:
elasticsearchDestinationDescription
- The destination in Amazon ES.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DestinationDescription clone()
-
-