次の方法で共有


TopicProperties クラス

  • java.lang.Object
    • com.azure.messaging.servicebus.administration.models.TopicProperties

public final class TopicProperties

トピックの静的プロパティを表します。

メソッドの概要

修飾子と型 メソッドと説明
List<AuthorizationRule> getAuthorizationRules()

承認規則プロパティを取得します。リソースの承認規則。

Duration getAutoDeleteOnIdle()

AutoDelete OnIdle プロパティを取得します。 ISO 8601 timeSpan idle interval after the topic is automatically deleted.

Duration getDefaultMessageTimeToLive()

既定の MessageTimeToLive プロパティを取得します。ISO 8601 の既定のメッセージの期間はライブ値になります。

Duration getDuplicateDetectionHistoryTimeWindow()

重複検出履歴のタイムウィンドウ プロパティを取得します。重複検出履歴の期間を定義する ISO 8601 タイムスパン構造。

long getMaxMessageSizeInKilobytes()

最大メッセージサイズInKilobytes プロパティを取得します。メッセージの最大サイズ (キロバイト単位)。

long getMaxSizeInMegabytes()

最大サイズInMegabytes プロパティを取得します。トピックの最大サイズ (メガバイト単位) です。これは、トピックに割り当てられたメモリのサイズです。

String getName()

トピックの名前を取得します。

EntityStatus getStatus()

status プロパティを取得します。Service Bus リソースの状態。

String getUserMetadata()

ユーザーの Metadata プロパティを取得します。トピックに関連付けられているメタデータ。

boolean isBatchedOperationsEnabled()

[バッチ処理操作の有効化] プロパティを取得します。サーバー側のバッチ処理操作が有効かどうかを示す値です。

boolean isDuplicateDetectionRequired()

[重複検出が必要]プロパティを取得します。このトピックで重複検出が必要かどうかを示す値。

boolean isOrderingSupported()

サポートの Ordering プロパティを取得します。トピックが順序付けをサポートしているかどうかを示す値です。

boolean isPartitioningEnabled()

[パーティション分割の有効化] プロパティを取得します。トピックを複数のメッセージ ブローカー間でパーティション分割するかどうかを示す値です。

TopicProperties setAutoDeleteOnIdle(Duration autoDeleteOnIdle)

AutoDelete OnIdle プロパティを設定します。 ISO 8601 timeSpan idle interval after the topic is automatically deleted.

TopicProperties setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)

既定の MessageTimeToLive プロパティを設定します。ISO 8601 の既定のメッセージ期間をライブ値に設定します。

TopicProperties setDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)

[重複検出履歴の時間枠] プロパティを設定します。重複検出履歴の期間を定義する ISO 8601 タイムスパン構造。

TopicProperties setDuplicateDetectionRequired(boolean requiresDuplicateDetection)

[requires Duplicate Detection]\(重複検出が必要\) プロパティを設定します。このトピックで重複検出が必要かどうかを示す値です。

TopicProperties setMaxMessageSizeInKilobytes(long maxMessageSizeInKilobytes)

最大メッセージサイズInKilobytes プロパティを設定します。メッセージの最大サイズ (キロバイト単位)。

TopicProperties setMaxSizeInMegabytes(long maxSizeInMegabytes)

MaxSizeInMegabytes プロパティを設定します。トピックの最大サイズ (MB 単位) は、トピックに割り当てられたメモリのサイズです。

TopicProperties setOrderingSupported(boolean supportOrdering)

サポートの Ordering プロパティを設定します。トピックが順序付けをサポートしているかどうかを示す値です。

TopicProperties setStatus(EntityStatus status)

status プロパティを設定します。Service Bus リソースの状態。

TopicProperties setUserMetadata(String userMetadata)

ユーザーの Metadata プロパティを設定します。トピックに関連付けられているメタデータ。

メソッドの継承元: java.lang.Object

メソッドの詳細

getAuthorizationRules

public List getAuthorizationRules()

authorizationRules プロパティを取得します。リソースの承認規則。

Returns:

authorizationRules 値。

getAutoDeleteOnIdle

public Duration getAutoDeleteOnIdle()

autoDeleteOnIdle プロパティを取得します。ISO 8601 timeSpan アイドル間隔の後、トピックが自動的に削除されます。 最小時間は、5 分です。

Returns:

autoDeleteOnIdle 値。

getDefaultMessageTimeToLive

public Duration getDefaultMessageTimeToLive()

defaultMessageTimeToLive プロパティを取得します。ISO 8601 の既定のメッセージの期間はライブ値になります。 これは、メッセージが Service Bus に送信されてからメッセージが期限切れになるまでの期間です。 これは、メッセージ自体に TimeToLive が設定されていない場合に使用される既定値です。

Returns:

defaultMessageTimeToLive 値。

getDuplicateDetectionHistoryTimeWindow

public Duration getDuplicateDetectionHistoryTimeWindow()

duplicateDetectionHistoryTimeWindow プロパティを取得します。重複検出履歴の期間を定義する ISO 8601 timeSpan 構造体。 既定値は 10 分です。

Returns:

duplicateDetectionHistoryTimeWindow 値。

getMaxMessageSizeInKilobytes

public long getMaxMessageSizeInKilobytes()

maxMessageSizeInKilobytes プロパティを取得します。メッセージの最大サイズ (キロバイト単位)。

Returns:

maxMessageSizeInKilobytes 値。

getMaxSizeInMegabytes

public long getMaxSizeInMegabytes()

maxSizeInMegabytes プロパティを取得します。トピックの最大サイズ (メガバイト単位)。これは、トピックに割り当てられたメモリのサイズです。

Returns:

maxSizeInMegabytes 値。

getName

public String getName()

トピックの名前を取得します。

Returns:

トピックの名前。

getStatus

public EntityStatus getStatus()

status プロパティを取得します。Service Bus リソースの状態。

Returns:

状態の値。

getUserMetadata

public String getUserMetadata()

userMetadata プロパティを取得します。トピックに関連付けられているメタデータ。

Returns:

userMetadata 値。

isBatchedOperationsEnabled

public boolean isBatchedOperationsEnabled()

enableBatchedOperations プロパティを取得します。サーバー側のバッチ処理操作が有効かどうかを示す値です。

Returns:

enableBatchedOperations 値。

isDuplicateDetectionRequired

public boolean isDuplicateDetectionRequired()

requiresDuplicateDetection プロパティを取得します。このトピックで重複検出が必要かどうかを示す値。

Returns:

requiresDuplicateDetection 値。

isOrderingSupported

public boolean isOrderingSupported()

supportOrdering プロパティを取得します。トピックが順序付けをサポートしているかどうかを示す値です。

Returns:

supportOrdering 値。

isPartitioningEnabled

public boolean isPartitioningEnabled()

enablePartitioning プロパティを取得します。トピックを複数のメッセージ ブローカー間でパーティション分割するかどうかを示す値です。

Returns:

enablePartitioning 値。

setAutoDeleteOnIdle

public TopicProperties setAutoDeleteOnIdle(Duration autoDeleteOnIdle)

autoDeleteOnIdle プロパティ (ISO 8601 timeSpan アイドル間隔) を設定します。その後、トピックは自動的に削除されます。 最小時間は、5 分です。

Parameters:

autoDeleteOnIdle - 設定する autoDeleteOnIdle 値。

Returns:

TopicDescription オブジェクト自体。

setDefaultMessageTimeToLive

public TopicProperties setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)

defaultMessageTimeToLive プロパティ (ISO 8601 の既定のメッセージの期間) をライブ値に設定します。 これは、メッセージが Service Bus に送信されてからメッセージが期限切れになるまでの期間です。 これは、メッセージ自体に TimeToLive が設定されていない場合に使用される既定値です。

Parameters:

defaultMessageTimeToLive - 設定する defaultMessageTimeToLive 値。

Returns:

TopicDescription オブジェクト自体。

setDuplicateDetectionHistoryTimeWindow

public TopicProperties setDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)

duplicateDetectionHistoryTimeWindow プロパティを設定します。重複検出履歴の期間を定義する ISO 8601 timeSpan 構造体。 既定値は 10 分です。

Parameters:

duplicateDetectionHistoryTimeWindow - 設定する duplicateDetectionHistoryTimeWindow 値。

Returns:

TopicDescription オブジェクト自体。

setDuplicateDetectionRequired

public TopicProperties setDuplicateDetectionRequired(boolean requiresDuplicateDetection)

requiresDuplicateDetection プロパティを設定します。このトピックで重複検出が必要かどうかを示す値です。

Parameters:

requiresDuplicateDetection - 設定する requiresDuplicateDetection 値。

Returns:

TopicDescription オブジェクト自体。

setMaxMessageSizeInKilobytes

public TopicProperties setMaxMessageSizeInKilobytes(long maxMessageSizeInKilobytes)

maxMessageSizeInKilobytes プロパティを設定します。メッセージの最大サイズ (キロバイト単位)。

Parameters:

maxMessageSizeInKilobytes - 設定する maxMessageSizeInKilobytes 値。

Returns:

QueueDescription オブジェクト自体。

setMaxSizeInMegabytes

public TopicProperties setMaxSizeInMegabytes(long maxSizeInMegabytes)

maxSizeInMegabytes プロパティを設定します。トピックの最大サイズ (メガバイト単位)。 これは、トピックに割り当てられたメモリのサイズです。

Parameters:

maxSizeInMegabytes - 設定する maxSizeInMegabytes 値。

Returns:

TopicDescription オブジェクト自体。

setOrderingSupported

public TopicProperties setOrderingSupported(boolean supportOrdering)

supportOrdering プロパティを設定します。トピックが順序付けをサポートしているかどうかを示す値です。

Parameters:

supportOrdering - 設定する supportOrdering 値。

Returns:

TopicDescription オブジェクト自体。

setStatus

public TopicProperties setStatus(EntityStatus status)

status プロパティを設定します。Service Bus リソースの状態。

Parameters:

status - 設定する状態値。

Returns:

TopicDescription オブジェクト自体。

setUserMetadata

public TopicProperties setUserMetadata(String userMetadata)

userMetadata プロパティを設定します。トピックに関連付けられているメタデータ。

Parameters:

userMetadata - 設定する userMetadata 値。

Returns:

TopicDescription オブジェクト自体。

適用対象