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)


4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
# File 'lib/aws-sdk-workspacesweb/types.rb', line 4876

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)


4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
# File 'lib/aws-sdk-workspacesweb/types.rb', line 4876

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



4876
4877
4878
# File 'lib/aws-sdk-workspacesweb/types.rb', line 4876

def unknown
  @unknown
end