com.amazonaws.services.s3.model

## クラス StaticEncryptionMaterialsProvider

- java.lang.Object
- - com.amazonaws.services.s3.model.StaticEncryptionMaterialsProvider

- すべての実装されたインタフェース:
    EncryptionMaterialsAccessor, EncryptionMaterialsProvider

      public class StaticEncryptionMaterialsProvider
      extends java.lang.Object
      implements EncryptionMaterialsProvider

  Simple implementation of EncryptionMaterialsProvider that just wraps static EncryptionMaterials.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `StaticEncryptionMaterialsProvider(EncryptionMaterials materials)`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `EncryptionMaterials` | `getEncryptionMaterials()` Returns EncryptionMaterials which the caller can use for encryption.
    `EncryptionMaterials` | `getEncryptionMaterials(java.util.Map<java.lang.String,java.lang.String> materialsDescription)` Retrieves encryption materials matching the specified description from some source.
    `void` | `refresh()` Forces this encryption materials provider to refresh its encryption material.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### StaticEncryptionMaterialsProvider

          public StaticEncryptionMaterialsProvider(EncryptionMaterials materials)

  - ### メソッドの詳細

    - #### getEncryptionMaterials

          public EncryptionMaterials getEncryptionMaterials()

      インタフェースからコピーされた説明: `EncryptionMaterialsProvider`
      Returns EncryptionMaterials which the caller can use for encryption. Each implementation of EncryptionMaterialsProvider can choose its own strategy for loading encryption material. For example, an implementation might load encryption material from an existing key management system, or load new encryption material when keys are rotated.
      定義:
        `getEncryptionMaterials` インタフェース内 `EncryptionMaterialsProvider`
      戻り値:
        EncryptionMaterials which the caller can use to encrypt or decrypt data.

    - #### refresh

          public void refresh()

      インタフェースからコピーされた説明: `EncryptionMaterialsProvider`
      Forces this encryption materials provider to refresh its encryption material. For many implementations of encryption materials provider, this may simply be a no-op, such as any encryption materials provider implementation that vends static/non-changing encryption material. For other implementations that vend different encryption material throughout their lifetime, this method should force the encryption materials provider to refresh its encryption material.
      定義:
        `refresh` インタフェース内 `EncryptionMaterialsProvider`

    - #### getEncryptionMaterials

          public EncryptionMaterials getEncryptionMaterials(java.util.Map<java.lang.String,java.lang.String> materialsDescription)

      インタフェースからコピーされた説明: `EncryptionMaterialsAccessor`
      Retrieves encryption materials matching the specified description from some source.
      定義:
        `getEncryptionMaterials` インタフェース内 `EncryptionMaterialsAccessor`
      パラメータ:
        `materialsDescription` - A Map whose key-value pairs describe an encryption materials object
      戻り値:
        The encryption materials that match the description, or null if no matching encryption materials found.