Class: Aws::WorkSpacesWeb::Types::WallpaperImageInput

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-workspacesweb/types.rb

Overview

Note:

WallpaperImageInput is a union - when making an API calls you must set exactly one of the members.

The input for a wallpaper image. Provide the image as either a binary image file or an S3 URI. Maximum 5 MB in JPEG or PNG format.

Direct Known Subclasses

Blob, S3Uri, Unknown

Defined Under Namespace

Classes: Blob, S3Uri, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blobString

The image provided as a binary image file.

Returns:

  • (String)


4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-workspacesweb/types.rb', line 4901

class WallpaperImageInput < Struct.new(
  :blob,
  :s3_uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Blob < WallpaperImageInput; end
  class S3Uri < WallpaperImageInput; end
  class Unknown < WallpaperImageInput; end
end

#s3_uriString

The S3 URI pointing to the image file. The URI must use the format s3://bucket-name/key-name. You must have read access to the S3 object.

Returns:

  • (String)


4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-workspacesweb/types.rb', line 4901

class WallpaperImageInput < Struct.new(
  :blob,
  :s3_uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Blob < WallpaperImageInput; end
  class S3Uri < WallpaperImageInput; end
  class Unknown < WallpaperImageInput; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4901
4902
4903
# File 'lib/aws-sdk-workspacesweb/types.rb', line 4901

def unknown
  @unknown
end