Interface DescribeArchiveResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeArchiveResponse.Builder,DescribeArchiveResponse>,EventBridgeResponse.Builder,SdkBuilder<DescribeArchiveResponse.Builder,DescribeArchiveResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeArchiveResponse
public static interface DescribeArchiveResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeArchiveResponse.Builder,DescribeArchiveResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeArchiveResponse.BuilderarchiveArn(String archiveArn)The ARN of the archive.DescribeArchiveResponse.BuilderarchiveName(String archiveName)The name of the archive.DescribeArchiveResponse.BuildercreationTime(Instant creationTime)The time at which the archive was created.DescribeArchiveResponse.Builderdescription(String description)The description of the archive.DescribeArchiveResponse.BuildereventCount(Long eventCount)The number of events in the archive.DescribeArchiveResponse.BuildereventPattern(String eventPattern)The event pattern used to filter events sent to the archive.DescribeArchiveResponse.BuildereventSourceArn(String eventSourceArn)The ARN of the event source associated with the archive.DescribeArchiveResponse.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one has been specified.DescribeArchiveResponse.BuilderretentionDays(Integer retentionDays)The number of days to retain events for in the archive.DescribeArchiveResponse.BuildersizeBytes(Long sizeBytes)The size of the archive in bytes.DescribeArchiveResponse.Builderstate(String state)The state of the archive.DescribeArchiveResponse.Builderstate(ArchiveState state)The state of the archive.DescribeArchiveResponse.BuilderstateReason(String stateReason)The reason that the archive is in the state.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
archiveArn
DescribeArchiveResponse.Builder archiveArn(String archiveArn)
The ARN of the archive.
- Parameters:
archiveArn- The ARN of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveName
DescribeArchiveResponse.Builder archiveName(String archiveName)
The name of the archive.
- Parameters:
archiveName- The name of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceArn
DescribeArchiveResponse.Builder eventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
- Parameters:
eventSourceArn- The ARN of the event source associated with the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeArchiveResponse.Builder description(String description)
The description of the archive.
- Parameters:
description- The description of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventPattern
DescribeArchiveResponse.Builder eventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
- Parameters:
eventPattern- The event pattern used to filter events sent to the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
DescribeArchiveResponse.Builder state(String state)
The state of the archive.
- Parameters:
state- The state of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArchiveState,ArchiveState
-
state
DescribeArchiveResponse.Builder state(ArchiveState state)
The state of the archive.
- Parameters:
state- The state of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArchiveState,ArchiveState
-
stateReason
DescribeArchiveResponse.Builder stateReason(String stateReason)
The reason that the archive is in the state.
- Parameters:
stateReason- The reason that the archive is in the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
DescribeArchiveResponse.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one has been specified.
For more information, see Encrypting archives in the Amazon EventBridge User Guide.
- Parameters:
kmsKeyIdentifier- The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one has been specified.For more information, see Encrypting archives in the Amazon EventBridge User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionDays
DescribeArchiveResponse.Builder retentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
- Parameters:
retentionDays- The number of days to retain events for in the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeBytes
DescribeArchiveResponse.Builder sizeBytes(Long sizeBytes)
The size of the archive in bytes.
- Parameters:
sizeBytes- The size of the archive in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCount
DescribeArchiveResponse.Builder eventCount(Long eventCount)
The number of events in the archive.
- Parameters:
eventCount- The number of events in the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribeArchiveResponse.Builder creationTime(Instant creationTime)
The time at which the archive was created.
- Parameters:
creationTime- The time at which the archive was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-