public class EventStream extends Object implements Serializable
| Constructor and Description |
|---|
EventStream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application from which events should be published.
|
String |
getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
String |
getExternalId()
The external ID assigned the IAM role that authorizes Amazon Pinpoint to
publish to the stream.
|
String |
getLastModifiedDate()
The date the event stream was last updated in ISO 8601 format.
|
String |
getLastUpdatedBy()
The IAM user who last modified the event stream.
|
String |
getRoleArn()
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application from which events should be published.
|
void |
setDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
void |
setExternalId(String externalId)
The external ID assigned the IAM role that authorizes Amazon Pinpoint to
publish to the stream.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date the event stream was last updated in ISO 8601 format.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
|
void |
setRoleArn(String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventStream |
withApplicationId(String applicationId)
The ID of the application from which events should be published.
|
EventStream |
withDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
EventStream |
withExternalId(String externalId)
The external ID assigned the IAM role that authorizes Amazon Pinpoint to
publish to the stream.
|
EventStream |
withLastModifiedDate(String lastModifiedDate)
The date the event stream was last updated in ISO 8601 format.
|
EventStream |
withLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
|
EventStream |
withRoleArn(String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The ID of the application from which events should
be published.public EventStream withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The ID of the application from which events should
be published.public String getDestinationStreamArn()
public void setDestinationStreamArn(String destinationStreamArn)
destinationStreamArn - The Amazon Resource Name (ARN) of the Amazon
Kinesis stream or Firehose delivery stream to which you want
to publish events. Firehose ARN:
arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
Kinesis ARN:
arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAMEpublic EventStream withDestinationStreamArn(String destinationStreamArn)
Returns a reference to this object so that method calls can be chained together.
destinationStreamArn - The Amazon Resource Name (ARN) of the Amazon
Kinesis stream or Firehose delivery stream to which you want
to publish events. Firehose ARN:
arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
Kinesis ARN:
arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAMEpublic String getExternalId()
public void setExternalId(String externalId)
externalId - The external ID assigned the IAM role that authorizes
Amazon Pinpoint to publish to the stream.public EventStream withExternalId(String externalId)
Returns a reference to this object so that method calls can be chained together.
externalId - The external ID assigned the IAM role that authorizes
Amazon Pinpoint to publish to the stream.public String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - The date the event stream was last updated in ISO
8601 format.public EventStream withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date the event stream was last updated in ISO
8601 format.public String getLastUpdatedBy()
public void setLastUpdatedBy(String lastUpdatedBy)
lastUpdatedBy - The IAM user who last modified the event stream.public EventStream withLastUpdatedBy(String lastUpdatedBy)
Returns a reference to this object so that method calls can be chained together.
lastUpdatedBy - The IAM user who last modified the event stream.public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The IAM role that authorizes Amazon Pinpoint to publish
events to the stream in your account.public EventStream withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The IAM role that authorizes Amazon Pinpoint to publish
events to the stream in your account.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.