@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventStream extends Object implements Serializable, Cloneable, StructuredPojo
Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.
Constructor and Description |
---|
EventStream() |
Modifier and Type | Method and Description |
---|---|
EventStream |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application to publish event data for.
|
String |
getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream
to publish event data to.
|
String |
getExternalId()
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
String |
getLastModifiedDate()
The date, in ISO 8601 format, when the event stream was last modified.
|
String |
getLastUpdatedBy()
The IAM user who last modified the event stream.
|
String |
getRoleArn()
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the
stream in your AWS account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique identifier for the application to publish event data for.
|
void |
setDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream
to publish event data to.
|
void |
setExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the event stream was last modified.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
|
void |
setRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the
stream in your AWS account.
|
String |
toString()
Returns a string representation of this object.
|
EventStream |
withApplicationId(String applicationId)
The unique identifier for the application to publish event data for.
|
EventStream |
withDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream
to publish event data to.
|
EventStream |
withExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
EventStream |
withLastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the event stream was last modified.
|
EventStream |
withLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
|
EventStream |
withRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the
stream in your AWS account.
|
public void setApplicationId(String applicationId)
The unique identifier for the application to publish event data for.
applicationId
- The unique identifier for the application to publish event data for.public String getApplicationId()
The unique identifier for the application to publish event data for.
public EventStream withApplicationId(String applicationId)
The unique identifier for the application to publish event data for.
applicationId
- The unique identifier for the application to publish event data for.public void setDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery
stream to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
public String getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
public EventStream withDestinationStreamArn(String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery
stream to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
public void setExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
externalId
- (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon
Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this
requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.public String getExternalId()
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
public EventStream withExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
externalId
- (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon
Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this
requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.public void setLastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the event stream was last modified.
lastModifiedDate
- The date, in ISO 8601 format, when the event stream was last modified.public String getLastModifiedDate()
The date, in ISO 8601 format, when the event stream was last modified.
public EventStream withLastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the event stream was last modified.
lastModifiedDate
- The date, in ISO 8601 format, when the event stream was last modified.public void setLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
lastUpdatedBy
- The IAM user who last modified the event stream.public String getLastUpdatedBy()
The IAM user who last modified the event stream.
public EventStream withLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
lastUpdatedBy
- The IAM user who last modified the event stream.public void setRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
roleArn
- The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to
the stream in your AWS account.public String getRoleArn()
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
public EventStream withRoleArn(String roleArn)
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
roleArn
- The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to
the stream in your AWS account.public String toString()
toString
in class Object
Object.toString()
public EventStream clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.