Class AwsKinesisStreamDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsKinesisStreamDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsKinesisStreamDetails.Builder,AwsKinesisStreamDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsKinesisStreamDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsKinesisStreamDetails.Builder,AwsKinesisStreamDetails>
Provides information about an Amazon Kinesis data stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsKinesisStreamDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the Kinesis data stream.static AwsKinesisStreamDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the Kinesis stream.IntegerretentionPeriodHours()The number of hours for the data records that are stored in shards to remain accessible.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsKinesisStreamDetails.Builder>serializableBuilderClass()IntegershardCount()The number of shards that the stream uses.AwsKinesisStreamStreamEncryptionDetailsstreamEncryption()When specified, enables or updates server-side encryption using an KMS key for a specified stream.AwsKinesisStreamDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.
- Returns:
- The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the Kinesis data stream.
- Returns:
- The Amazon Resource Name (ARN) of the Kinesis data stream.
-
streamEncryption
public final AwsKinesisStreamStreamEncryptionDetails streamEncryption()
When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
- Returns:
- When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
-
shardCount
public final Integer shardCount()
The number of shards that the stream uses.
- Returns:
- The number of shards that the stream uses.
-
retentionPeriodHours
public final Integer retentionPeriodHours()
The number of hours for the data records that are stored in shards to remain accessible.
- Returns:
- The number of hours for the data records that are stored in shards to remain accessible.
-
toBuilder
public AwsKinesisStreamDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsKinesisStreamDetails.Builder,AwsKinesisStreamDetails>
-
builder
public static AwsKinesisStreamDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsKinesisStreamDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-