@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRealtimeLogConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRealtimeLogConfigRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRealtimeLogConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<EndPoint> |
getEndPoints()
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
|
List<String> |
getFields()
A list of fields to include in each real-time log record.
|
String |
getName()
A unique name to identify this real-time log configuration.
|
Long |
getSamplingRate()
The sampling rate for this real-time log configuration.
|
int |
hashCode() |
void |
setEndPoints(Collection<EndPoint> endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
|
void |
setFields(Collection<String> fields)
A list of fields to include in each real-time log record.
|
void |
setName(String name)
A unique name to identify this real-time log configuration.
|
void |
setSamplingRate(Long samplingRate)
The sampling rate for this real-time log configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateRealtimeLogConfigRequest |
withEndPoints(Collection<EndPoint> endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
|
CreateRealtimeLogConfigRequest |
withEndPoints(EndPoint... endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
|
CreateRealtimeLogConfigRequest |
withFields(Collection<String> fields)
A list of fields to include in each real-time log record.
|
CreateRealtimeLogConfigRequest |
withFields(String... fields)
A list of fields to include in each real-time log record.
|
CreateRealtimeLogConfigRequest |
withName(String name)
A unique name to identify this real-time log configuration.
|
CreateRealtimeLogConfigRequest |
withSamplingRate(Long samplingRate)
The sampling rate for this real-time log configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<EndPoint> getEndPoints()
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
public void setEndPoints(Collection<EndPoint> endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
endPoints
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data.public CreateRealtimeLogConfigRequest withEndPoints(EndPoint... endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
NOTE: This method appends the values to the existing list (if any). Use
setEndPoints(java.util.Collection)
or withEndPoints(java.util.Collection)
if you want to
override the existing values.
endPoints
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data.public CreateRealtimeLogConfigRequest withEndPoints(Collection<EndPoint> endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
endPoints
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data.public List<String> getFields()
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
public void setFields(Collection<String> fields)
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
fields
- A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
public CreateRealtimeLogConfigRequest withFields(String... fields)
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
public CreateRealtimeLogConfigRequest withFields(Collection<String> fields)
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
fields
- A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
public void setName(String name)
A unique name to identify this real-time log configuration.
name
- A unique name to identify this real-time log configuration.public String getName()
A unique name to identify this real-time log configuration.
public CreateRealtimeLogConfigRequest withName(String name)
A unique name to identify this real-time log configuration.
name
- A unique name to identify this real-time log configuration.public void setSamplingRate(Long samplingRate)
The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
samplingRate
- The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100
(inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.public Long getSamplingRate()
The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
public CreateRealtimeLogConfigRequest withSamplingRate(Long samplingRate)
The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
samplingRate
- The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100
(inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.public String toString()
toString
in class Object
Object.toString()
public CreateRealtimeLogConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()